Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> So postmaster doesn't clean up pg_listener,
It never has. If you're complaining about this patch
http://archives.postgresql.org/pgsql-committers/2005-10/msg00073.php
you ought to say so, rather than expecting us to guess it from an
out-of-context quote from another mailing list.
As near as I can tell, the technique Jan describes is an abuse of
pg_listener, and I won't feel any great sympathy when it does break
completely, which it will do before long when pg_listener goes away
in the planned rewrite of LISTEN/NOTIFY.
regards, tom lane