Re: [SQL] PL/pgSQL and PHP 5

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] PL/pgSQL and PHP 5
Дата
Msg-id 9830.1155181257@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/pgSQL and PHP 5  (PostgreSQL Admin <postgres@productivitymedia.com>)
Ответы Re: [SQL] PL/pgSQL and PHP 5  (PostgreSQL Admin <postgres@productivitymedia.com>)
Re: [SQL] PL/pgSQL and PHP 5 - thanks  (PostgreSQL Admin <postgres@productivitymedia.com>)
Список pgsql-php
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

В списке pgsql-php по дате отправления:

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: PL/pgSQL and PHP 5
Следующее
От: PostgreSQL Admin
Дата:
Сообщение: Re: PL/pgSQL and PHP 5