Re: Pulling data from Postgres DB table for every 5 seconds.

From: github kran <githubkran(at)gmail(dot)com>
To: Mark Fletcher <markf(at)corp(dot)groups(dot)io>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Pulling data from Postgres DB table for every 5 seconds.
Date: 2019-01-09 20:58:25
Message-ID: CACaZr5TgA5rJSgXxtsJzMb46w8VYj8+f-mBrLc6HggOXcZ7u5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 9, 2019 at 12:36 PM Mark Fletcher <markf(at)corp(dot)groups(dot)io> wrote:

> On Wed, Jan 9, 2019 at 10:10 AM github kran <githubkran(at)gmail(dot)com> wrote:
>
>> Mark - We are currently on 9.6 version of postgres and cant use this
>> feature of logical replication.Answering to your question we are looking
>> for any changes in the data related to a specific table ( changes like any
>> update on a timestamp field
>> OR any new inserts happened in the last 5 seconds for a specific product
>> entity).
>> Any other alternatives ?.
>>
>> The feature was added in 9.4 (I think). We are on 9.6 and it works great.
> Not sure about RDS Aurora, however.
>
> Mark
>

Mark - just curious to know on the logical replication. Do you think I can
use it for my use case where i need to publish data to a subscriber when
there is a change in the data updated for a row or any new inserts
happening on the table. Intention
is to send this data in Json format by collecting this modified data in
real time to a subscriber.

Tahanks
Kran

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Fletcher 2019-01-09 23:22:42 Re: Pulling data from Postgres DB table for every 5 seconds.
Previous Message github kran 2019-01-09 20:50:47 Re: Pulling data from Postgres DB table for every 5 seconds.