Re: PL/Python

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/Python
Дата
Msg-id 3762.1043171358@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/Python  (Tom Jenkins <tjenkins@devis.com>)
Ответы Re: PL/Python  (Tom Jenkins <tjenkins@devis.com>)
Список 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 по дате отправления:

Предыдущее
От: will trillich
Дата:
Сообщение: partials dates?
Следующее
От: "William N. Zanatta"
Дата:
Сообщение: Re: Help on query plan.