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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, 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 15:08:25
Message-ID: AANLkTi=yuupJdDsspTjdCapLaF0sjQUWJ4f70r5azagG@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message David E. Wheeler 2010-08-19 15:09:36 Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the
Previous Message Tom Lane 2010-08-19 13:47:17 Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2010-08-19 15:08:38 Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!
Previous Message Greg Stark 2010-08-19 14:50:23 Re: wip: functions median and percentile