Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the
Date: 2010-08-19 16:56:54
Message-ID: 4C6D6256.1060608@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 19/08/10 18:08, Robert Haas wrote:
> On Thu, Aug 19, 2010 at 9:47 AM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-08-19 17:31:43 pgsql: Be a bit less cavalier with both the code and the comment for
Previous Message Heikki Linnakangas 2010-08-19 16:54:51 pgsql: Revert patch to coerce 'unknown' type parameters in the backend.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-08-19 16:57:26 Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!
Previous Message Tom Lane 2010-08-19 16:52:49 Re: PL/pgsSQL EXECUTE USING INTO