Received: (from news@localhost) by hub.org (8.9.2/8.9.1) id PAA25718 for pgsql-interfaces@postgresql.org; Mon, 8 Mar 1999 15:12:57 -0500 (EST) (envelope-from news) X-Authentication-Warning: hub.org: news set sender to using -f From: Henk Jan Barendregt Subject: create tables in empty database (libpq) Date: Mon, 08 Mar 1999 21:14:40 +0100 Organization: Barendregt Building Message-ID: <36E42FB0.ABECE2BD@barendregt.xs4all.nl> To: pgsql-interfaces@postgreSQL.org Hello, When i try to create tables in an empty database,a call to PQresultstatus gives the following message on the screen : PQresultstatus() -- pointer to PQresult is null The database is created with createdb, and connecting to it with PQsetdb gives no errors. But i can't execute any queries using PQexec. When i try to acces the database with psql or pgaccess everythinworks fine. And when i create the tables manualy with psql then i can access them with libpq. any suggestions ? Henk Jan