Thread: PGconn

PGconn

From
"Mohsen Pahlevanzadeh"
Date:
Dears,I need to connect to the PostgreSQL without choosing database in C.
Please guide me......

Re: PGconn

From
Scott Marlowe
Date:
On Mon, 2005-02-28 at 16:43, Mohsen Pahlevanzadeh wrote:
> Dears,I need to connect to the PostgreSQL without choosing database in C.
> Please guide me......

You have to choose a database.  You can choose template1 which should
always be there.  Connections in libpq are to specific databases.