"Nicolas Addington" <[EMAIL PROTECTED]> writes:
> PostgreSQL version: 8.0

tsk, tsk --- it's not 8.0.  Yet.

> When a pl/perl trigger for an insert event changes an integer column in the
> new row to null, it fails.  Interestingly, it doesn't have a problem if the
> column was originally null.

Looks like we have to check *both* SvOK() and SvTYPE() everywhere.
Sigh.  Done --- thanks for the report.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to