Re: [PATCHES] more fixes for making contrib null safe

2005-01-28 Thread Jon Jensen
On Fri, 28 Jan 2005, Kris Jurka wrote:
This adds the strict function attribute to the places in contrib that
crash on null inputs.
Doesn't C need to be quoted? A few of those looked like this:
LANGUAGE C STRICT
but I thought it should be:
LANGUAGE 'C' STRICT
Is that right?
Jon
--
Jon Jensen
End Point Corporation
http://www.endpoint.com/
Software development with Interchange, Perl, PostgreSQL, Apache, Linux, ...
---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [PATCHES] more fixes for making contrib null safe

2005-01-28 Thread Jon Jensen
On Fri, 28 Jan 2005, Kris Jurka wrote:
Doesn't C need to be quoted? A few of those looked like this:
LANGUAGE C STRICT
This is perfectly legal:
http://developer.postgresql.org/docs/postgres/sql-createfunction.html
langname
   The name of the language that the function is implemented in. May be
SQL, C, internal, or the name of a user-defined procedural language. For
backward compatibility, the name may be enclosed by single quotes.
Oh, ok. Good to know.
Thanks,
Jon
--
Jon Jensen
End Point Corporation
http://www.endpoint.com/
Software development with Interchange, Perl, PostgreSQL, Apache, Linux, ...
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [PATCHES] more fixes for making contrib null safe

2005-01-28 Thread Tom Lane
Kris Jurka [EMAIL PROTECTED] writes:
 This adds the strict function attribute to the places in contrib that 
 crash on null inputs.

Sounds good.  Barring objections, I'll apply this to current and back
branches before we make the upcoming releases.

regards, tom lane

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster