| From: | Denis Zaitsev <zzz(at)cd-club(dot)ru> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: Are scalar type's in/out functions implicitly STRICT? |
| Date: | 2003-03-02 00:41:47 |
| Message-ID: | 20030302054147.B30850@natasha.zzz.zzz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(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?
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...
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephan Szabo | 2003-03-02 01:07:09 | Re: OUTER JOIN with filter |
| Previous Message | Denis Zaitsev | 2003-03-02 00:40:33 | Re: Are scalar type's in/out functions implicitly STRICT? |