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

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Denis Zaitsev <zzz(at)cd-club(dot)ru>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Are scalar type's in/out functions implicitly STRICT?
Date: 2003-02-28 03:24:44
Message-ID: 20030228032444.GA4648@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Fri, Feb 28, 2003 at 05:45:44 +0500,
Denis Zaitsev <zzz(at)cd-club(dot)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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message victor 2003-02-28 03:44:49 calling a stored procedure via pqSendQuery
Previous Message Tom Lane 2003-02-28 02:44:37 Re: Are scalar type's in/out functions implicitly STRICT?