pgsql-server/doc/src/sgml plpython.sgml

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/doc/src/sgml plpython.sgml
Date: 2002-09-23 01:51:02
Message-ID: 20020923015102.20795476128@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)org 02/09/22 21:51:02

Modified files:
doc/src/sgml : plpython.sgml

Log message:
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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-09-23 01:59:40 pgsql-server/doc/TODO.detail win32
Previous Message Bruce Momjian - CVS 2002-09-23 01:43:23 pgsql-server/src/interfaces/libpgtcl pgtclId.c