Do we have a range of SQLSTATE codes assigned for custom use?

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Do we have a range of SQLSTATE codes assigned for custom use?
Дата
Msg-id 532F8D7C.3010408@2ndquadrant.com
обсуждение исходный текст
Ответы Re: Do we have a range of SQLSTATE codes assigned for custom use?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
Hi all

With RAISE supporting user-defined SQLSTATEs, and EXCEPTION ... WHEN
supporting matching them, shouldn't we explicitly declare a range of
SQLSTATEs as reserved for custom use?

Right now, there's nothing in
http://www.postgresql.org/docs/current/static/errcodes-appendix.html to
tell a user which SQLSTATE codes they can use without any risk that
PostgreSQL will later use that code for something else.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: DB alias ?
Следующее
От: Rajeev rastogi
Дата:
Сообщение: Re: COPY error with null date