7.3 Doc Bug in plpython

Поиск
Список
Период
Сортировка
От elein (by way of elein
Тема 7.3 Doc Bug in plpython
Дата
Msg-id 200209200123.g8K1N2Bd297268@pimout1-ext.prodigy.net
обсуждение исходный текст
Ответы Re: 7.3 Doc Bug in plpython  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
The valid return value should be MODIFY instead of MODIFIED.
The error message said so :-)

In 25.3. Using PL/Python

    If the trigger "when" is BEFORE, you may return None or "OK"
    from the Python function to indicate the tuple is unmodified, "SKIP"
    to abort the event, or "MODIFIED" to indicate you've modified the tuple.

should read
    If the trigger "when" is BEFORE, you may return None or "OK"
    from the Python function to indicate the tuple is unmodified, "SKIP"
    to abort the event, or "MODIFY" to indicate you've modified the tuple.

elein@norcov.com

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #776: PGSQL 7.2.2 build broken on OS X 10.2
Следующее
От: jld123@pobox.com
Дата:
Сообщение: Fix for PSQL 7.2.2 doesn't compile on OS X 10.2