pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Dinesh kumar <shenid.08@gmail.com>
To: pgsql-general@postgresql.org >> PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: sync the data's from catalog table
Date: Mon, 13 Nov 2017 09:42:59 +0100
Message-ID: <1510562579.2835.2.camel@cybertec.at> (raw)
In-Reply-To: <CAM5WAJMWBJCEp8eXDiXanm2dvUJRr_5Lf-k-fSb6iQLHahzj6Q@mail.gmail.com>
References: <CAM5WAJMWBJCEp8eXDiXanm2dvUJRr_5Lf-k-fSb6iQLHahzj6Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Dinesh kumar wrote:
> How can I sync the data's from pg_authid to manually created table (user table) whenever the update or insert happens on pg_authid table.

You cannot do this, because you cannot define triggers on catalog tables.

The question is:
Why do you want to do this? What are you trying to achieve?

Yours,
Laurenz Albe


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (3+ messages)  latest in thread

Message-ID: <1510562579.2835.2.camel@cybertec.at>
Permalink:  ../1510562579.2835.2.camel@cybertec.at/
Also on:    postgresql.org/message-id/1510562579.2835.2.camel@cybertec.at

 · 

reply

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: laurenz.albe@cybertec.at, shenid.08@gmail.com
  Subject: Re: sync the data's from catalog table
  In-Reply-To: <1510562579.2835.2.camel@cybertec.at>
  References: <CAM5WAJMWBJCEp8eXDiXanm2dvUJRr_5Lf-k-fSb6iQLHahzj6Q@mail.gmail.com> <1510562579.2835.2.camel@cybertec.at>

* 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