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

From Stephen Frost
Subject Re: Wishlist: parameterizable types
Date
Msg-id 20111222170553.GI24234@tamriel.snowman.net
Whole thread Raw
In response to Wishlist: parameterizable types  (Joey Adams <joeyadams3.14159@gmail.com>)
List pgsql-hackers
* Joey Adams (joeyadams3.14159@gmail.com) wrote:
> This may be ambitious, but it'd be neat if PostgreSQL supported
> parameterizable types.  For example, suppose a contrib module defines
> a "pair" type.  It could be used as follows:

Have you looked at what the PostGIS folks are doing..?  We do have
support for custom typmod's...  I'm not sure if that helps you at all,
but figured I'd mention it.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [PATCH] Enable min/max optimization for bool_and/bool_or/every
Next
From: Tom Lane
Date:
Subject: Indexes with duplicate columns