From: John DeSoi <desoi@pgedit.com>
To: PostgreSQL Admin <postgres@productivitymedia.com>
Cc: Lista PG-PHP <pgsql-php@postgresql.org>
Cc: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Re: PL/pgSQL and PHP 5
Date: Wed, 9 Aug 2006 23:24:48 -0400
Message-ID: <A46E31A9-0484-4CB4-9649-76FADC4F872B@pgedit.com> (raw)
In-Reply-To: <44DA9BA3.2020801@productivitymedia.com>
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>
On Aug 9, 2006, at 10:36 PM, PostgreSQL Admin wrote:
> select insert_staff_b('$_POST['firstname']::varchar)
>
>
> Still I get this error:
> Warning: pg_query(): Query failed: ERROR: function insert_staff_b
> (character varying) does not exist HINT: No function matches the
> given name and argument types. You may need to add explicit type
> casts.
Your select statement above has unbalanced single quotes. Assuming
this is not really the issue, I would check the search_path and look
at the function in psql or some admin tool to make sure the function
name does not have different capitalization.
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
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: desoi@pgedit.com, postgres@productivitymedia.com, pgsql-php@postgresql.org
Subject: Re: PL/pgSQL and PHP 5
In-Reply-To: <A46E31A9-0484-4CB4-9649-76FADC4F872B@pgedit.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