Database trigger (one server to another)

From: Muhammad Bilal Jamil <mbjamil92(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Database trigger (one server to another)
Date: 2022-05-31 18:59:41
Message-ID: CAJqS1VKB7pUwapW8VORvAXeknWd8FyTTkBEPMmQSYOXHutYQFQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi fellow database engineers,

I am currently on a project where i have read only access to a production
system (replicated) from where i want to copy data into another schema.
Ideally what i want to do is that if for an event happens in the replicated
schema (server#1) like something updates, then my database trigger runs and
copies data from server#1 to my 2nd schema (server#2) for which i have
read/write rights.

Is this something possible? I would create the trigger in the 2nd server
obviously since for first one i cant write anything.

Best
Bilal

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-05-31 19:20:30 Re: Database trigger (one server to another)
Previous Message Tim Kelly 2022-05-31 18:22:32 unoptimized nested loops