Re: PL/Python - Mailing list pgsql-general

From Tom Lane
Subject Re: PL/Python
Date
Msg-id 3762.1043171358@sss.pgh.pa.us
Whole thread Raw
In response to PL/Python  (Tom Jenkins <tjenkins@devis.com>)
Responses Re: PL/Python
List pgsql-general
Tom Jenkins <tjenkins@devis.com> writes:
> I believe the logic is correct (if the python object is None then send
> to the typfunc a NULL) but I don't know how to code it correctly.

You shouldn't call the typfunc at all if you want a NULL --- just set
the null flag for that datum slot.

            regards, tom lane

pgsql-general by date:

Previous
From: will trillich
Date:
Subject: partials dates?
Next
From: "William N. Zanatta"
Date:
Subject: Re: Help on query plan.