From: | John DeSoi <desoi(at)pgedit(dot)com> |
---|---|
To: | PostgreSQL Admin <postgres(at)productivitymedia(dot)com> |
Cc: | Lista PG-PHP <pgsql-php(at)postgresql(dot)org>, PostgreSQL SQL List <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: PL/pgSQL and PHP 5 |
Date: | 2006-08-10 03:24:48 |
Message-ID: | A46E31A9-0484-4CB4-9649-76FADC4F872B@pgedit.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-08-10 03:40:57 | Re: [SQL] PL/pgSQL and PHP 5 |
Previous Message | PostgreSQL Admin | 2006-08-10 02:36:19 | PL/pgSQL and PHP 5 |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-08-10 03:40:57 | Re: [SQL] PL/pgSQL and PHP 5 |
Previous Message | PostgreSQL Admin | 2006-08-10 02:36:19 | PL/pgSQL and PHP 5 |