On Wed, Apr 7, 2010 at 10:11 AM, Tuo Pe <tuo_pe@xxxxxxxxx> wrote: > Hi! > > I have written this function in PL/pgSQL, > CREATE OR REPLACE FUNCTION MakeSimpleReservation(integer, integer, integer, text, text) RETURNS boolean ... So, is this function created exactly like this? Is it possible you quoted the name MakeSimpleReservation to keep the capitalization? If so that would be the problem as it's getting lower case wrapped when called from php. Just a guess. Could you provide a complete test case to show it not working in php (i.e. a complete function, just strip out the guts and replace it with select 1 or something) -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general