Re: PL/pgSQL and PHP 5 - Mailing list pgsql-sql

From PostgreSQL Admin
Subject Re: PL/pgSQL and PHP 5
Date
Msg-id 44DAAD83.3060604@productivitymedia.com
Whole thread Raw
In response to Re: PL/pgSQL and PHP 5  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Tom Lane wrote:
> PostgreSQL Admin <postgres@productivitymedia.com> writes:
>
>> CREATE OR REPLACE FUNCTION insert_staff_b
>>     (insert_firstname varchar)
>> RETURNS VOID AS
>> ...
>> Still I get this error:
>> Warning: pg_query(): Query failed: ERROR: function
>> insert_staff_b(character varying) does not exist
>>
>
> Sure looks like it oughta work.  One possibility is that you created the
> function in a schema that isn't part of the application's search path.
> Other than that, look for *really* silly errors, like not creating the
> function in the same database the application is connected to ...
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq
>
>
I never thought of that.  I look into it.

Thanks,
J

pgsql-sql by date:

Previous
From: PostgreSQL Admin
Date:
Subject: Re: [PHP] PL/pgSQL and PHP 5
Next
From: PostgreSQL Admin
Date:
Subject: Re: PL/pgSQL and PHP 5 - thanks