From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Mitar <mmitar@gmail.com>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Watching for view changes
Date: Thu, 20 Dec 2018 08:01:23 -0800
Message-ID: <24cae5b1-fbc6-0cb4-e10c-6cd316dff2f5@aklaver.com> (raw)
In-Reply-To: <CAKLmikMsXV+bAP-Mk7MphwsPhtkKZGJ4iGOQFE8pkMaDcv3uXQ@mail.gmail.com>
References: <CAKLmikP+PPB49z8rEEvRjFOD0D2DV72KdqYN7s9fjh9sM_32ZA@mail.gmail.com>
<8ce68eb6-4bae-447c-b9d2-f25e0c02546d@gmail.com>
<CAKLmikMsXV+bAP-Mk7MphwsPhtkKZGJ4iGOQFE8pkMaDcv3uXQ@mail.gmail.com>
On 12/20/18 7:54 AM, Mitar wrote:
> Hi!
>
> Thanks. Care for a link or at least thread subject?
https://www.postgresql.org/message-id/CA%2BFnnTxqScf6mDw_7HLMfu7YTagPrsYUw-bc%3DOKsBQ0TqprvEA%40mail...>
> Also, Googling around this seems a pretty popular request. I am quite
> surprised that there is not something out-of-box available for this,
> efficient and scalable.
>
>
> Mitar
>
> On Thu, Dec 20, 2018 at 7:33 AM Ron <ronljohnsonjr@gmail.com> wrote:
>>
>> On 12/20/18 3:17 AM, Mitar wrote:
>>> Hi!
>>>
>>> I am trying to see how I could use NOTIFY/LISTEN to watch changes of a
>>> complicated SELECT query which spans multiple tables. Ideally, I would
>>> like to leave to PostgreSQL to determine when some data (and which
>>> data) in the result of the SELECT query has changed. So I am thinking
>> [snip]
>>
>> There was a LONG thread on this list a few months ago about monitoring for
>> DDL changes. It should prove helpful (or cause you to despair).
>>
>>
>> --
>> Angular momentum makes the world go 'round.
>>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, mmitar@gmail.com, ronljohnsonjr@gmail.com
Subject: Re: Watching for view changes
In-Reply-To: <24cae5b1-fbc6-0cb4-e10c-6cd316dff2f5@aklaver.com>
References: <CAKLmikP+PPB49z8rEEvRjFOD0D2DV72KdqYN7s9fjh9sM_32ZA@mail.gmail.com> <8ce68eb6-4bae-447c-b9d2-f25e0c02546d@gmail.com> <CAKLmikMsXV+bAP-Mk7MphwsPhtkKZGJ4iGOQFE8pkMaDcv3uXQ@mail.gmail.com> <24cae5b1-fbc6-0cb4-e10c-6cd316dff2f5@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox