7.3 Doc Bug in plpython

From: elein <elein(at)norcov(dot)com>(by way of elein <elein(at)norcov(dot)com>)
To: pgsql-bugs(at)postgresql(dot)org
Subject: 7.3 Doc Bug in plpython
Date: 2002-09-20 01:23:14
Message-ID: 200209200123.g8K1N2Bd297268@pimout1-ext.prodigy.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)norcov(dot)com

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jld123 2002-09-20 01:32:39 Fix for PSQL 7.2.2 doesn't compile on OS X 10.2
Previous Message pgsql-bugs 2002-09-20 00:24:36 Bug #776: PGSQL 7.2.2 build broken on OS X 10.2