Re: actualised funcs typmod patch

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Dimitri Fontaine <dfontaine@hi-media.com>, Alvaro Herrera <alvherre@commandprompt.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2009-11-17T18:54:08Z
Lists: pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2009/11/17 Tom Lane <tgl@sss.pgh.pa.us>:
>> There are other issues but these are the ones I think we'd need to
>> resolve before not after putting in function typmods. It'd be
>> extremely painful and non-backwards-compatible to change our minds
>> later about function identity or coercion rules.

> I am sure, so this patch cannot break any current code.

My point is that if we release 8.5 with these semantics (which as far
as I can tell were not designed, but just fell out of what made for the
shortest patch) then we'll be stuck with them thereafter.

			regards, tom lane