Re: PL/Python

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: tjenkins(at)devis(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PL/Python
Date: 2003-01-21 17:49:18
Message-ID: 3762.1043171358@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Jenkins <tjenkins(at)devis(dot)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

In response to

  • PL/Python at 2003-01-21 17:05:44 from Tom Jenkins

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ara howard 2003-01-21 18:08:26 Re: postmaster.pid
Previous Message will trillich 2003-01-21 17:47:45 partials dates?