Re: Performance of the listen command - Mailing list pgsql-general

From Tom Lane
Subject Re: Performance of the listen command
Date
Msg-id 20791.1154216708@sss.pgh.pa.us
Whole thread Raw
In response to Re: Performance of the listen command  (Flemming Frandsen <ff@partyticket.net>)
List pgsql-general
Flemming Frandsen <ff@partyticket.net> writes:
> I just looked at the pg_listener table:
> ... and noticed the complete lack of indexen, surely this must be a bug?

No, that was intentional.  It's been a long time but I think the
argument was that the cost of updating the indexes would outweigh
their usefulness.  The listen/notify code is really not designed
for a great deal of "flap" in the set of active listeners :-(

I'm not particularly concerned about trying to add indexes --- would
much rather get rid of the table approach entirely.  There have been
prior discussions of this but nothing's been done.

            regards, tom lane

pgsql-general by date:

Previous
From: "John Jawed"
Date:
Subject: Re: Auto Installation
Next
From: Christopher Browne
Date:
Subject: Re: Performance of the listen command