Re: Create user trigger?

From: Decibel! <decibel(at)decibel(dot)org>
To: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
Cc: General mailing list postgres <pgsql-general(at)postgresql(dot)org>
Subject: Re: Create user trigger?
Date: 2008-03-25 01:36:04
Message-ID: B1B9AC05-4481-4D65-8941-CE023AC2FDE3@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dropping the slony list.

On Mar 18, 2008, at 5:32 AM, Glyn Astill wrote:
> We're setting up 3 servers replicating using slony. I was wondering
> if it'd be possible for me to create a set of triggers that fire
> whenever a user is created/dropped/modified on one of the servers
> that goes and performs the same action the other two servers.

There is no support for DDL triggers, even though it's frequently
requested. Unfortunately, almost every time it's brought up it
degrades into a debate about why we can't add triggers to catalog
tables; forgetting that there's other ways to do this. Searching the
pgsql-hackers archives should be enlightening.
--
Decibel!, aka Jim C. Nasby, Database Architect decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Decibel! 2008-03-25 01:39:17 Re: Feature request/suggestion - CREATE SCHEMA LIKE
Previous Message Tom Lane 2008-03-24 22:40:27 Re: Problem with update on partitioned table