Re: 9.0+ way of determining if a LISTEN channel has a backend listening?

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: 9.0+ way of determining if a LISTEN channel has a backend listening?
Date: 2011-06-01 22:22:39
Message-ID: acd79182fa480c98af84161982120be3@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> Is there a way in post-9.0 postgres for one session to determine if a
> LISTEN channel currently has a backend registered to receive
> notifications?

No, there is no way. As mentioned on a similar thread on -hackers,
you could possibly use advisory locks if you really need to
know what another session is listening to.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201106011822
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAk3mu54ACgkQvJuQZxSWSsiAYwCg/Oa00qCfiRI3jxhml6a2fnkz
8IUAn3Re+3IUo2IynMIRLLqzH4+uyN9n
=YL88
-----END PGP SIGNATURE-----

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message lists-pgsql 2011-06-03 19:52:53 selecting records X minutes apart
Previous Message James Robinson 2011-06-01 15:51:30 9.0+ way of determining if a LISTEN channel has a backend listening?