Re: pulling libpqtypes from queue

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: tomas(at)tuxteam(dot)de
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Andrew Chernow" <ac(at)esilo(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pulling libpqtypes from queue
Date: 2008-04-15 14:57:37
Message-ID: b42b73150804150757i66351518ya5b04505f9797e4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 15, 2008 at 10:48 AM, <tomas(at)tuxteam(dot)de> wrote:
> On Tue, Apr 15, 2008 at 09:48:37AM -0400, Merlin Moncure wrote:
> > On Tue, Apr 15, 2008 at 9:36 AM, Alvaro Herrera
> > <alvherre(at)commandprompt(dot)com> wrote:
>
> > > I expect you intend to get at least the hooks in, right?
> >
> > not likely. Keep in mind, this is not how we really wanted to do
> > things in the first place. We don't think this is the right strategy
> > for integrating libpqtypes with libpq. It over-complicates things and
> > we don't really see a use case outside of libpqtypes. If a reasonable
> > case can be made for putting the hooks in, we will consider it. Can
> > you think of any good reasons for hooking libpq outside of our
> > intentions?
>
> Yes, this one comes to mind:
>
> From: sanjay sharma
> Subject: Submission of Feature Request : RFC- for Implementing
> Transparent Data Encryption in Postgres
> <http://archives.postgresql.org/pgsql-hackers/2008-03/msg01231.php>
>
> I know that the original poster wanted to encrypt and decrypt things
> server-side, but as was noted in the thread this doesn't make that much
> sense because the decryption keys must be somehow kept around there.
>
> But for doing it transparently client-side such libpq hooks might come
> in handy...

libpqtypes was designed to handle this with our without hooking. (the
'hooking' debate was mainly about exactly how libpq and libpqtypes was
going to be separated).

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.

merlin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-15 15:06:23 Re: [PATCHES] Avahi support for Postgresql
Previous Message Bruce Momjian 2008-04-15 14:51:41 Re: [PATCHES] Avahi support for Postgresql