Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit909a837

Browse files
committed
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
1 parentf9a1ea6 commit909a837

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/plpython.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/plpython.sgml,v 1.13 2002/09/22 18:47:24 tgl Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/plpython.sgml,v 1.14 2002/09/23 01:51:02 momjian Exp $ -->
22

33
<chapter id="plpython">
44
<title>PL/Python - Python Procedural Language</title>
@@ -105,7 +105,7 @@ def __plpython_procedure_myfunc_23456():
105105
If the <literal>TD["when"]</literal> is <literal>BEFORE</>, you may
106106
return <literal>None</literal> or <literal>"OK"</literal> from the
107107
Python function to indicate the row is unmodified,
108-
<literal>"SKIP"</> to abort the event, or <literal>"MODIFIED"</> to
108+
<literal>"SKIP"</> to abort the event, or <literal>"MODIFY"</> to
109109
indicate you've modified the row.
110110
</para>
111111
</sect1>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp