Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group