pgsql-server/doc/src/sgml plpython.sgml - Mailing list pgsql-committers

From momjian@postgresql.org (Bruce Momjian - CVS)
Subject pgsql-server/doc/src/sgml plpython.sgml
Date
Msg-id 20020923015102.20795476128@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@postgresql.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


pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql-server/src/interfaces/libpgtcl pgtclId.c
Next
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql-server/doc/TODO.detail win32