Re: ALTER TYPE 3: add facility to identify further no-work cases
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Noah Misch <noah@leadboat.com>, pgsql-hackers@postgresql.org
Date: 2011-01-27T01:11:35Z
Lists: pgsql-hackers
On Wed, Jan 26, 2011 at 6:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Robert Haas <robertmhaas@gmail.com> writes: >> Well, I guess my thought was that we what we were doing is extending >> the coercion system to be able to make decisions based on both type >> OID and typemod. > > Well, that's an interesting thought, but the proposal at hand is far > more limited than that --- it's only an optimization that can be applied > in limited situations. If we want to do something like what you're > suggesting here, it's not going to get done for 9.1. Eh, why is this not entirely straightforward? *scratches head* -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company