Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the
Date
Msg-id 4C6D6256.1060608@enterprisedb.com
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 19/08/10 18:08, Robert Haas wrote:
> 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.

Ok, I reverted the previous patch, and did that instead.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PL/pgsSQL EXECUTE USING INTO
Next
From: Tom Lane
Date:
Subject: Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!