From 351a0c1736b8aaff7638cce122191e2815b8ea84 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 13 Sep 2001 15:55:24 +0000 Subject: Replace ASCII-quotes with proper markup. --- doc/src/sgml/plpython.sgml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/src/sgml/plpython.sgml') diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index 69894bf5aa..47d60baa88 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -1,4 +1,4 @@ - + PL/Python - Python Procedural Language @@ -69,23 +69,23 @@ def __plpython_procedure_myfunc_23456(): dictionary, as mentioned above. - + When a function is used in a trigger, the dictionary TD contains - transaction related values. The trigger tuples are in TD["new"] - and/or TD["old"] depending on the trigger event. TD["event"] - contains the event as a string ("INSERT", "UPDATE", "DELETE", or - "UNKNOWN"). TD["when"] contains one of ("BEFORE", "AFTER", or - "UNKNOWN"). TD["level"] contains one of ("ROW", "STATEMENT", or - "UNKNOWN"). TD["name"] contains the trigger name, and TD["relid"] + transaction related values. The trigger tuples are in TD["new"] + and/or TD["old"] depending on the trigger event. TD["event"] + contains the event as a string (INSERT, UPDATE, DELETE, or + UNKNOWN). TD["when"] contains one of (BEFORE, AFTER, or + UNKNOWN). TD["level"] contains one of ROW, STATEMENT, or + UNKNOWN. TD["name"] contains the trigger name, and TD["relid"] contains the relation id of the table on which the trigger occurred. If the trigger was called with arguments they are available - in TD["args"][0] to TD["args"][(n -1)] + in TD["args"][0] to TD["args"][(n -1)]. - 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 + 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. -- cgit v1.2.1