Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: custom C fu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 15444 of 17602
Post > Topic >>

Re: custom C function problem

by tgl@[EMAIL PROTECTED] (Tom Lane) May 3, 2008 at 03:46 PM

"Dan \"Heron\" Myers" <heron@[EMAIL PROTECTED]
> writes:
> One case that fails is essentially copied from the V1 section in the 
> do***entation:

Well, there's nothing wrong with that C code, so the problem is
someplace else.

Did you remember to declare the function STRICT?  If not, and if
there are any nulls in your test table, a crash would be expected;
there's nothing in this function that's guarding against a null
pointer dereference.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 6 Posts in Topic:
custom C function problem
heron@[EMAIL PROTECTED]   2008-05-03 11:27:36 
Re: custom C function problem
tgl@[EMAIL PROTECTED] (T  2008-05-03 13:50:35 
Re: custom C function problem
heron@[EMAIL PROTECTED]   2008-05-03 11:58:41 
Re: custom C function problem
tgl@[EMAIL PROTECTED] (T  2008-05-03 15:46:46 
Re: custom C function problem
heron@[EMAIL PROTECTED]   2008-05-03 18:20:50 
Re: custom C function problem
tgl@[EMAIL PROTECTED] (T  2008-05-03 21:04:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:05:32 CST 2008.