7.3 Doc Bug in plpython - Mailing list pgsql-bugs

From elein (by way of elein
Subject 7.3 Doc Bug in plpython
Date
Msg-id 200209200123.g8K1N2Bd297268@pimout1-ext.prodigy.net
Whole thread Raw
Responses Re: 7.3 Doc Bug in plpython  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #776: PGSQL 7.2.2 build broken on OS X 10.2
Next
From: jld123@pobox.com
Date:
Subject: Fix for PSQL 7.2.2 doesn't compile on OS X 10.2