Re: Are scalar type's in/out functions implicitly STRICT? - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: Are scalar type's in/out functions implicitly STRICT?
Date
Msg-id 20030228032444.GA4648@wolff.to
Whole thread Raw
In response to Are scalar type's in/out functions implicitly STRICT?  (Denis Zaitsev <zzz@cd-club.ru>)
Responses Re: Are scalar type's in/out functions implicitly STRICT?  (Denis Zaitsev <zzz@cd-club.ru>)
List pgsql-sql
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?
The version zero method doesn't have a way handle nulls other than by
declaring the function strict.


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Are scalar type's in/out functions implicitly STRICT?
Next
From: victor@inf.ufsc.br
Date:
Subject: calling a stored procedure via pqSendQuery