pqlib in c++: PQconnectStart PQconnectPoll

From: "madhtr" <madhtr(at)schif(dot)org>
To: <pgsql-general(at)postgresql(dot)org>
Subject: pqlib in c++: PQconnectStart PQconnectPoll
Date: 2007-02-14 18:40:10
Message-ID: 004c01c75067$8eee8b80$7b55503f@useronewin2klt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

when i intentioally try to connect asynchronously to a database that does
not exist, i get

"server closed the connection unexpectedly"

My intention is to create the database if it does not exist ... Is there any
way retrive the actual error so i can know when to create the database?

thanx:)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-02-14 18:41:16 Re: backup database by cloning itself
Previous Message Wilton 2007-02-14 18:24:00 Protect PL/PGSQL source