Error code.

From: "Anagha Joshi" <ajoshi(at)nulinkinc(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Error code.
Date: 2003-05-30 10:48:50
Message-ID: FF851C7EEB75954F9BCFB5CA117AB1EC092819@delta.nulinkinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,
Is there any way to get error code from 'PgDatabse::Exec' call?
PgDatabase::ErrorMessage() explains error message finely.
i.e. if errorMessage() calls returns string like : 'cannot extend trap:
No space left on device'
then can I get error code which explains the same ?
else I'll have to use 'strcmp'(C++ client interface) to find when device
is out of space.

Urgent help needed.

Thx,
Anagha

Browse pgsql-admin by date

  From Date Subject
Next Message Jodi Kanter 2003-05-30 12:38:09 createdb
Previous Message Dominic Veit 2003-05-30 07:15:23