Re: rollback to savepoint issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: rollback to savepoint issue
Дата
Msg-id 1314500.1693919980@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: rollback to savepoint issue  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-general
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> But it gets worse.  If you create a procedure (no longer a function)
> with a SAVEPOINT and ROLLBACK TO SAVEPOINT, it'll complain about the
> ROLLBACK TO command, but not about SAVEPOINT; and if you remove that,
> then it'll fail at runtime saying that SAVEPOINT is unsupported.

ROLLBACK in plpgsql is a different command with different syntax
options than the core grammar has.  So this is a matter of when
syntax errors are detected vs. when semantic errors are detected.

            regards, tom lane



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

Предыдущее
От: jacktby jacktby
Дата:
Сообщение: Re: ./configure doesn't make effect?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: ./configure doesn't make effect?