Daniel <danwgrace@xxxxxxxxx> writes: > PGconn pg_conn; You probably want that to be "PGconn *pg_conn;" > db_util.h:11: error: field 'pg_conn' has incomplete type libpq doesn't expose the struct type PGconn, only pointers to it. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general