| From: | "David E(dot) Wheeler" <david(at)kineticode(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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:09:36 |
| Message-ID: | 6C3D5C78-8CF6-4691-B0F2-D63AD7C29CA2@kineticode.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
On Aug 19, 2010, at 8:08 AM, Robert Haas 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.
It'd be nice if SPI itself could work this way for UNKNOWNs, too.
Best,
David
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-08-19 15:46:18 | pgsql: Fix possible corruption of AfterTriggerEventLists in |
| Previous Message | Robert Haas | 2010-08-19 15:08:25 | Re: Re: [COMMITTERS] pgsql: Coerce 'unknown' type parameters to the right type in the |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2010-08-19 15:11:01 | Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers! |
| Previous Message | Alvaro Herrera | 2010-08-19 15:08:38 | Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers! |