Re: Text Description of Current Exception
| От | Justin |
|---|---|
| Тема | Re: Text Description of Current Exception |
| Дата | |
| Msg-id | 49D59164.8080601@emproshunts.com обсуждение исходный текст |
| Ответ на | Text Description of Current Exception ("Ward Eaton" <Ward.Eaton@rad-con.com>) |
| Список | pgsql-admin |
Ward Eaton wrote:
I'm not sure what you are after. Your requesting logging the error yet referring to SqlErrm used in exception blocks
postgresql has SQLSTATE used in exception catching of errors in a pl/SQL function see
http://www.postgresql.org/docs/8.3/interactive/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING
Postgresql logs errors in a log file unless it's been turned off.
See configure logging
http://www.postgresql.org/docs/8.3/interactive/runtime-config-logging.html
These instructions are for 8.3 if you have different version go to this section of the help files for your specific version.
postgresql has SQLSTATE used in exception catching of errors in a pl/SQL function see
http://www.postgresql.org/docs/8.3/interactive/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING
Postgresql logs errors in a log file unless it's been turned off.
See configure logging
http://www.postgresql.org/docs/8.3/interactive/runtime-config-logging.html
These instructions are for 8.3 if you have different version go to this section of the help files for your specific version.
В списке pgsql-admin по дате отправления: