Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-08-19T15:08:25Z
Lists: pgsql-hackers
On Thu, Aug 19, 2010 at 9:47 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Another possibility is for EXECUTE USING to coerce any unknowns to TEXT > before it calls the parser at all. This would square with the typical > default assumption for unknown literals, and it would avoid having to > have any semantics changes below the SPI call. That seems more intuitive than just chucking an error. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company