PGconn

Started by Mohsen Pahlevanzadehabout 21 years ago2 messagesgeneral
Jump to latest
#1Mohsen Pahlevanzadeh
mohsen@pahlevanzadeh.org

Dears,I need to connect to the PostgreSQL without choosing database in C.
Please guide me......

#2Scott Marlowe
smarlowe@g2switchworks.com
In reply to: Mohsen Pahlevanzadeh (#1)
Re: PGconn

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.