int main(void) { EXEC SQL CONNECT TO tcp:postgresql://localhost:5432/postgres USER postgres; EXEC SQL CREATE TABLE testecpg (id int, data text); EXEC SQL DISCONNECT; return 0; }