From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | elein(at)norcov(dot)com |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: 7.3 Doc Bug in plpython |
Date: | 2002-09-23 01:45:37 |
Message-ID: | 200209230145.g8N1jbU17826@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Patch applied. Thanks.
---------------------------------------------------------------------------
elein wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | elein | 2002-09-23 04:14:23 | Re: plpython plpy.log/warning minor aesthetic bug |
Previous Message | Bruce Momjian | 2002-09-23 01:14:31 | Re: plpython plpy.log/warning minor aesthetic bug |