Robert Haas <robertmh...@gmail.com> writes: > On Mon, Dec 14, 2009 at 4:06 AM, <to...@tuxteam.de> wrote: >>> As another approach, what about storing typeid in typmod? >>> (Oid can be assumed to be stored in int32.)
> It 's very different than the way we've traditionally used typmod, Aside from the problems already pointed out, there's another: this definition usurps the ability to attach a typmod to the range's base type. Again, you should be looking at arrays not enums for a reference example. The typmod of an array feeds through to its element type. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers