Re: Synchronous LISTEN/NOTIFY? - Mailing list pgsql-general

From Lincoln Yeoh
Subject Re: Synchronous LISTEN/NOTIFY?
Date
Msg-id 3.0.5.32.20010105130529.008ec520@192.228.128.13
Whole thread Raw
In response to Re: Synchronous LISTEN/NOTIFY?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
At 11:27 PM 04-01-2001 -0500, Tom Lane wrote:
>Lincoln Yeoh <lyeoh@pop.jaring.my> writes:

>> Would it be viable idea to add a WAIT command/statement for higher level
>> access (e.g. "SQL" level access to this feature)?
>
>Strikes me as pretty useless.  If you were to PQexec("WAIT foo") then
>your application would be totally locked up until and unless a foo
>signal gets delivered.  You won't be satisfied with that for long.

I'll actually be very happy, that's exactly what I want, and I can't see
why it would be a bad thing. I personally like the idea of programs doing
specific tasks, if there's nothing to do, they don't do anything else. That
way there is very little that can go wrong.

Cheerio,
Link.


pgsql-general by date:

Previous
From: "Anthony E . Greene"
Date:
Subject: Re: pg_dump return status..
Next
From: Justin
Date:
Subject: How do I create a check constraint that is based on age difference?