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

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 (view raw or flat)
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

pgsql-hackers by date

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

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