Re: Wishlist: parameterizable types - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Wishlist: parameterizable types
Date
Msg-id CA+Tgmoa0xrnhRkdpRdtn5Yna5=OiGv9NpH0Ogso_JaiUdE26Vw@mail.gmail.com
Whole thread Raw
In response to Wishlist: parameterizable types  (Joey Adams <joeyadams3.14159@gmail.com>)
Responses Re: Wishlist: parameterizable types  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Thu, Dec 22, 2011 at 1:04 AM, Joey Adams <joeyadams3.14159@gmail.com> wrote:
> What I'm wondering is: how complex would it be to add such a feature
> to PostgreSQL's type system?

Very.

It's been discussed before, although I can't tell you the subject
lines of the threads off the top of my head.  The basic problem is
that there is a ton of code that assumes that a type is fully
identified by an OID, and all of that code would need to be changed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Typed hstore proposal
Next
From: Robert Haas
Date:
Subject: Re: [PATCH] Enable min/max optimization for bool_and/bool_or/every