Re: [proposal] protocol extension to support loadable stream filters

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [proposal] protocol extension to support loadable stream filters
Date: 2005-04-25 22:34:23
Message-ID: 25891.1114468463@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Brent Verner <brent(at)rcfile(dot)org> writes:
> I'd like to introduce the concept of (dynamically loaded) stream
> filters that would be used to wrap calls to send/recv by the FE/BE
> protocol.

I think the "dynamically loaded" part of that is going to be way more
headache than it's worth. You certainly don't get to have any help
from the database, for example, since you're not connected to it
at the time of the connection startup. I also wonder what happens when
the client and server disagree on the meaning of a filter name. It
would seem a lot safer to stick to the existing, low-tech, non dynamic
approach.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Held 2005-04-25 22:41:41 Re: [HACKERS] Bad n_distinct estimation; hacks suggested?
Previous Message Tom Lane 2005-04-25 22:26:57 Re: [PATCHES] Continue transactions after errors in psql