From: PostgreSQL Admin <postgres@productivitymedia.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Lista PG-PHP <pgsql-php@postgresql.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] PL/pgSQL and PHP 5
Date: Wed, 09 Aug 2006 23:52:35 -0400
Message-ID: <44DAAD83.3060604@productivitymedia.com> (raw)
In-Reply-To: <9830.1155181257@sss.pgh.pa.us>
References: <20060731041644.32247.qmail@web56610.mail.re3.yahoo.com>
<bf05e51c0607302152k2801caflc9040d99af7b2816@mail.gmail.com>
<7F7548C8-249E-44E2-8205-6C055671DA19@pgedit.com>
<bf05e51c0607310759m64d39c45n73aa6060c871b46f@mail.gmail.com>
<44DA9BA3.2020801@productivitymedia.com>
<9830.1155181257@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: postgres@productivitymedia.com, tgl@sss.pgh.pa.us, pgsql-php@postgresql.org
Subject: Re: [SQL] PL/pgSQL and PHP 5
In-Reply-To: <44DAAD83.3060604@productivitymedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox