Skip site navigation (1) Skip section navigation (2)

Re: Wishlist: parameterizable types

From: Stephen Frost <sfrost(at)snowman(dot)net>
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 17:05:53
Message-ID: 20111222170553.GI24234@tamriel.snowman.net (view raw or flat)
Thread:
Lists: pgsql-hackers
* Joey Adams (joeyadams3(dot)14159(at)gmail(dot)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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2011-12-22 17:17:36
Subject: Indexes with duplicate columns
Previous:From: Robert HaasDate: 2011-12-22 17:00:52
Subject: Re: [PATCH] Enable min/max optimization for bool_and/bool_or/every

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group