Обсуждение: Error code.

Поиск
Список
Период
Сортировка

Error code.

От
"Anagha Joshi"
Дата:

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