Error code.

Поиск
Список
Период
Сортировка
От Anagha Joshi
Тема Error code.
Дата
Msg-id FF851C7EEB75954F9BCFB5CA117AB1EC092819@delta.nulinkinc.com
обсуждение исходный текст
Список 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

 

В списке pgsql-admin по дате отправления:

Предыдущее
От: Dominic Veit
Дата:
Сообщение:
Следующее
От: Jodi Kanter
Дата:
Сообщение: createdb