Re: [proposal] protocol extension to support loadable stream filters - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [proposal] protocol extension to support loadable stream filters
Date
Msg-id 25891.1114468463@sss.pgh.pa.us
Whole thread Raw
In response to [proposal] protocol extension to support loadable stream filters  (Brent Verner <brent@rcfile.org>)
Responses Re: [proposal] protocol extension to support loadable stream filters  (Brent Verner <brent@rcfile.org>)
List pgsql-hackers
Brent Verner <brent@rcfile.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Continue transactions after errors in psql
Next
From: "Dave Held"
Date:
Subject: Re: [PERFORM] Bad n_distinct estimation; hacks suggested?