Re: Question about STRICT - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Question about STRICT
Date
Msg-id 4136ffa0906030315v2b758cb8r1ff2453eef411961@mail.gmail.com
Whole thread Raw
In response to Re: Question about STRICT  (Gevik Babakhani <pgdev@xs4all.nl>)
Responses Re: Question about STRICT  (Gevik Babakhani <pgdev@xs4all.nl>)
List pgsql-hackers
On Wed, Jun 3, 2009 at 11:04 AM, Gevik Babakhani <pgdev@xs4all.nl> wrote:
> The "RETURNS NULL ON NULL INPUT" is logical and does the above accordingly.
> But when a function is STRICT you kind of expect to have an notification,
> perhaps an error if a value for an argument is NULL.

Uhm, you might but I'm not sure why. That's not what STRICT does. It's
a synonym for RETURNS NULL ON NULL INPUT.

-- 
greg


pgsql-hackers by date:

Previous
From: Gevik Babakhani
Date:
Subject: Re: Question about STRICT
Next
From: Gevik Babakhani
Date:
Subject: Re: Question about STRICT