Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support
Дата
Msg-id 13986.1117724516@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-committers
Pavel Stehule <stehule@kix.fsv.cvut.cz> writes:
> On Thu, 2 Jun 2005, Tom Lane wrote:
>> The results of Pavel's experiments prove that Oracle's behavior is
>> pretty random --- it looks to me like the chance results of whatever

> What I can speek. Oracle has session variable for saving err code of last
> exception. On the start of session is zero. After executing any EXCEPTION
> BLOCK is this session zeroed. I can't to see so it's buggy behavior.

Well, it may not be strictly a "bug", but it's certainly a very poor
design, since it fails to cope at all nicely with nested-exception cases.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: The no-lexer-backup speedup hadn't been there a week before