Re: type info refactoring

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, pgsql-hackers@postgresql.org
Date: 2010-10-31T22:04:24Z
Lists: pgsql-hackers
On sön, 2010-10-31 at 13:01 -0400, Tom Lane wrote:
> But I'm still wondering whether it's smart to try to promote all of
> this fundamentally-auxiliary information to first-class status.  It's
> really unclear to me that that will end up being a net win either
> conceptually or notationally.

Fair enough, but this patch arose from the discussion that the collation
patch had a lot of hunks that just changed (typeid, typmod) to (typeid,
typmod, collation) and that that could be isolated by collecting those
into a common data structure.  We can abandon this line of thought and
I'll go back to my original project, but I thought others who are
thinking about improving typmods could also benefit from this work.