From: dnaren@hss.hns.com
To: pgsql-sql@postgresql.org
Subject: Error code for database down
Date: Wed, 18 Dec 2002 21:22:00 +0530
Message-ID: <65256C93.005728EF.00@sampark.hss.hns.com> (raw)
HI...
When i executed a query using PQexec..It returned error.
Is there any way to check this error is because of Database is down.
like
PGRES_EMPTY_QUERY -- The string sent to the backend was empty.
PGRES_COMMAND_OK -- Successful completion of a command returning no
data
PGRES_TUPLES_OK -- The query successfully executed
etc......
Like this is there any value which will specify the database
failure?????
Thanks in advance
-Naren.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dnaren@hss.hns.com
Subject: Re: Error code for database down
In-Reply-To: <65256C93.005728EF.00@sampark.hss.hns.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox