Question about STRICT

From: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Question about STRICT
Date: 2009-06-03 08:45:44
Message-ID: 4A263838.3020405@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Could someone please clarify the difference between "RETURNS NULL ON
NULL INPUT" or "STRICT" when creating a function. Do both options exist
because of historical reasons/SQL standard compliance?

Shouldn't we raise an error when calling a function with NULL arguments
values if the function is created as STRICT?
(This would of course have an impact on checking for NULLs on arguments
defaults if the above is implemented.)

--

Regards,
Gevik

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gevik Babakhani 2009-06-03 08:52:53 Re: A humble request
Previous Message Markus Wanner 2009-06-03 08:02:02 Re: Managing multiple branches in git