From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andras Kadinger <bandit(at)surfnonstop(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: implementing NOTIFY with message parameter |
Date: | 2005-05-12 14:09:23 |
Message-ID: | 185.1115906963@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andras Kadinger <bandit(at)surfnonstop(dot)com> writes:
> ... I therefore invented pg_notify:
Please review the archived discussions about reimplementing NOTIFY using
only shared memory, no tables. The pg_listener table causes a number of
performance problems, and I think that getting rid of it should be a top
priority if any work is going to get done in that area. Your proposed
patch would make the performance issues substantially worse by
increasing the volume of dead tuples :-(
Also, any time you are planning new user-visible behavior, it's a good
idea to write the documentation *first*. In particular I'd like to see
a spec for how this looks to a program using libpq: what is the API for
receiving notify messages with arguments? Can an empty-string argument
be distinguished from no argument at all? (Possibly the protocol
prevents that, I'm not sure at the moment.)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2005-05-12 14:11:05 | Re: New Contrib Build? |
Previous Message | Tom Lane | 2005-05-12 13:50:28 | Re: [HACKERS] plperl and pltcl installcheck targets |