Re: Create user trigger?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Create user trigger?
Дата
Msg-id 200803251444.m2PEiaI07538@momjian.us
обсуждение исходный текст
Ответ на Re: Create user trigger?  (Decibel! <decibel@decibel.org>)
Список pgsql-general
Decibel! wrote:
> 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.

We have a potential patch for 8.4 for this.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-general по дате отправления:

Предыдущее
От: Decibel!
Дата:
Сообщение: Re: Feature request/suggestion - CREATE SCHEMA LIKE
Следующее
От: "Roberts, Jon"
Дата:
Сообщение: select any table