Re: LISTEN considered dangerous

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Flemming Frandsen <ff(at)partyticket(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: LISTEN considered dangerous
Date: 2006-08-02 12:45:29
Message-ID: 14672.1154522729@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Flemming Frandsen <ff(at)partyticket(dot)net> writes:
> The listen should simply listen for events issued at the start of the
> transaction it's executed in.

BEGIN;
SELECT sleep(1000000000);
LISTEN foo;

No, I don't think so.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-08-02 12:49:54 Re: Strange error message
Previous Message Harald Fuchs 2006-08-02 12:00:09 Re: LISTEN considered dangerous