Re: Wishlist: parameterizable types

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Joey Adams <joeyadams3(dot)14159(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Wishlist: parameterizable types
Date: 2011-12-22 16:34:31
Message-ID: CA+Tgmoa0xrnhRkdpRdtn5Yna5=OiGv9NpH0Ogso_JaiUdE26Vw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Dec 22, 2011 at 1:04 AM, Joey Adams <joeyadams3(dot)14159(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-12-22 16:41:32 Re: [PATCH] Enable min/max optimization for bool_and/bool_or/every
Previous Message Andrew Dunstan 2011-12-22 16:26:18 Re: Typed hstore proposal