On Wed, Dec 29, 2010 at 11:00 AM, Maxim Turchin <neh...@gmail.com> wrote: > 2010-12-29 17:43:10 EET ERROR: could not determine data type of parameter > $1 > 2010-12-29 17:43:10 EET STATEMENT: select > /* $1, */ > $2, > $3 > from sometable;
You could fix this either by having your driver specify a type for the parameter, or by changing the query to select $1::text rather than just $1. I'm not exactly sure how to do either of those things on the PHP side, but there's probably a way... -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs