Re: Syntax decisions for pl/pgsql RAISE extension

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Syntax decisions for pl/pgsql RAISE extension
Дата
Msg-id 48283942.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Syntax decisions for pl/pgsql RAISE extension  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Syntax decisions for pl/pgsql RAISE extension  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Re: Syntax decisions for pl/pgsql RAISE extension  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>>> Tom Lane <tgl@sss.pgh.pa.us> wrote: 
> Now, the elephant in the room is the issue of Oracle compatibility.
> None of this looks anything even a little bit like Oracle's RAISE
> command.  Oracle allows
>     RAISE exception_name ;
>     RAISE ;
I'm probably in the minority, but I care more about SQL/PSM
compatibility than Oracle compatibility.  I would hope that the ISO
standard is at least a gorilla sitting in the corner of the room.
If it's not too impractical, a nod toward these would be good:
DECLARE condition-name CONDITION FOR SQLSTATE VALUE character-literal
SIGNAL condition-name 
-Kevin



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Setting a pre-existing index as a primary key
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Convert wal_sync_method to guc enum.