From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Merlin Moncure <mmoncure(at)gmail(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Robert Haas <robertmhaas(at)gmail(dot)com>, Jon Nelson <jnelson+pgsql(at)jamponi(dot)net>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: [PERFORM] typoed column name, but postgres didn't grump |
Date: | 2010-11-05 19:17:24 |
Message-ID: | 29497.1288984644@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-performance |
I wrote:
> Ah. No, that would still work after the change. The case that I'm
> proposing to break is using function-ish notation to invoke a cast
> from a composite type to some other type whose name you use as if it
> were a function. Even there, if you've created such a cast following
> the usual convention of naming the cast function after the target type,
> it'll still act the same. It's just the built-in I/O-based casts that
> will stop working this way (for lack of a matching underlying function).
Here's a proposed patch, sans documentation as yet.
regards, tom lane
Attachment | Content-Type | Size |
---|---|---|
disable-composite-casts.patch | text/x-patch | 2.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2010-11-05 20:15:38 | Re: [PERFORM] typoed column name, but postgres didn't grump |
Previous Message | Henry C. | 2010-11-05 09:54:45 | Re: BUG #5736: 9.0.1 segmentation fault (sig11) during long-lived update |
From | Date | Subject | |
---|---|---|---|
Next Message | Samuel Gendler | 2010-11-05 19:23:59 | Re: Simple (hopefully) throughput question? |
Previous Message | Robert Klemme | 2010-11-05 17:30:54 | Re: Simple (hopefully) throughput question? |