Re: pulling libpqtypes from queue - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: pulling libpqtypes from queue
Date
Msg-id 20080415153648.GD7024@svana.org
Whole thread Raw
In response to Re: pulling libpqtypes from queue  (Andrew Chernow <ac@esilo.com>)
Responses Re: pulling libpqtypes from queue  (Andrew Chernow <ac@esilo.com>)
List pgsql-hackers
On Tue, Apr 15, 2008 at 11:24:43AM -0400, Andrew Chernow wrote:
> >libpqtypes had a superclassing concept (not much discussed on the
> >lists) where you could introduce new type handlers that wrapped
> >existing ones and was desgined exactly for things like this.  keep an
> >eye on our upcoming pgfoundry project.
> /* register a new type named secure_text.  Make it a
>  * sub-class of bytea.  Subclass means you can extend
>  * the behavior of another type.
>  */

All I can say is, way cool. Pity you couldn't get the necessary support
but if you can put it up in a way so it can be easily packaged by
distributors that'd be cool. I can think of some projects that could
really benefit from a feature like this.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Lessons from commit fest
Next
From: Tom Lane
Date:
Subject: Re: stack smashing detected