Re: Are scalar type's in/out functions implicitly STRICT?

Поиск
Список
Период
Сортировка
От Denis Zaitsev
Тема Re: Are scalar type's in/out functions implicitly STRICT?
Дата
Msg-id 20030302054147.B30850@natasha.zzz.zzz
обсуждение исходный текст
Ответ на Re: Are scalar type's in/out functions implicitly STRICT?  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-sql
On Thu, Feb 27, 2003 at 09:24:44PM -0600, Bruno Wolff III wrote:
> On Fri, Feb 28, 2003 at 05:45:44 +0500,
>   Denis Zaitsev <zzz@cd-club.ru> wrote:
> > So, I create some new scalar type and I don't declare its in/out
> > functions as STRICT.  But PostgreSQL copes with them such as they
> > would be STRICT - they never get the NULL value.  And this is not
> > documented, AFAIK.  Have I missed something or is it a some hard
> > well-known etc. fact?  Thanks in advance.
> 
> Are you using the version one calling sequence?

Yes, I am - v1.

> The version zero method doesn't have a way handle nulls other than by
> declaring the function strict.
> 

Hmm, examples/docs show such a way for v0...


В списке pgsql-sql по дате отправления:

Предыдущее
От: Denis Zaitsev
Дата:
Сообщение: Re: Are scalar type's in/out functions implicitly STRICT?
Следующее
От:
Дата:
Сообщение: