pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Denis Zaitsev <zzz@cd-club.ru>
To: pgsql-sql@postgresql.org
Subject: Re: Are scalar type's in/out functions implicitly STRICT?
Date: Sun, 2 Mar 2003 05:41:47 +0500
Message-ID: <20030302054147.B30850@natasha.zzz.zzz> (raw)
In-Reply-To: <20030228032444.GA4648@wolff.to>
References: <20030228054544.A4208@natasha.zzz.zzz>
	<20030228032444.GA4648@wolff.to>

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...



view thread (5+ messages)

Message-ID: <20030302054147.B30850@natasha.zzz.zzz>
Permalink:  ../20030302054147.B30850@natasha.zzz.zzz/
Also on:    postgresql.org/message-id/20030302054147.B30850@natasha.zzz.zzz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: zzz@cd-club.ru
  Subject: Re: Are scalar type's in/out functions implicitly STRICT?
  In-Reply-To: <20030302054147.B30850@natasha.zzz.zzz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox