--- a/database.c +++ b/database.c @@ -11,10 +11,15 @@ int main (int argc, char **argv) { char *conninfo; + PGconn *conn; + PGresult *res; + int nFields; + int i; + int j; conninfo = "dbname=lightintron";