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. ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly