Re: [GENERAL] Weird "function does not exist" error.

2013-11-25 Thread 邓尧
My apologies, I connected to the wrong database in my C code ... Sorry, if this E-mail bothers you. On Mon, Nov 25, 2013 at 5:33 PM, 邓尧 wrote: > Hi, > > I ran into a "function does not exist" error when invoking a function > created by myself. What's weird is that the function works perfe

[GENERAL] Weird "function does not exist" error.

2013-11-25 Thread 邓尧
Hi, I ran into a "function does not exist" error when invoking a function created by myself. What's weird is that the function works perfectly if I invoke it through the command line tool "psql" but fails if I invoke it through the C API. The SQL to create the function is: CREATE OR REPLACE