Re: Any postgres API available to get errorcode for PQerrorMessage
В списке pgsql-general по дате отправления:
| От | Rob Sargent |
|---|---|
| Тема | Re: Any postgres API available to get errorcode for PQerrorMessage |
| Дата | |
| Msg-id | 543EA2CC.6010402@gmail.com обсуждение исходный текст |
| Ответ на | Any postgres API available to get errorcode for PQerrorMessage ("Roopeshakumar Narayansa Shalgar (rshalgar)" <rshalgar@cisco.com>) |
| Ответы |
Re: Any postgres API available to get errorcode for
PQerrorMessage
|
| Список | pgsql-general |
Isn't this best done by monitoring tools such as nagios and done much before you actually run out of space?HI,
PQerrorMessage pirints the error message like (no space available,etc). Does postgres provide
any API which gives the error code listed in the below appendix;
http://www.postgresql.org/docs/9.1/static/errcodes-appendix.html
I need the exact error code so that I can shutdown my application whenever I face the “no space available” problem.
--
Thanks and Regards,
Rupesh
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера