Re: Trigger (or something similar) on table rename? - Mailing list pgsql-general

From Tom Lane
Subject Re: Trigger (or something similar) on table rename?
Date
Msg-id 28694.1518721313@sss.pgh.pa.us
Whole thread Raw
In response to Trigger (or something similar) on table rename?  (Ken Tanzer <ken.tanzer@gmail.com>)
Responses Re: Trigger (or something similar) on table rename?
List pgsql-general
Ken Tanzer <ken.tanzer@gmail.com> writes:
> Something like a trigger on the table rename would be ideal for my
> purposes.  Anything like that possible?  Thanks!

Recent PG versions have "event triggers" which would serve the purpose.
However, the infrastructure for them isn't very fully built out yet.
I'm not sure if you could identify a table rename without resorting to
writing some C code.

            regards, tom lane


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Trigger (or something similar) on table rename?
Next
From: Paul Jungwirth
Date:
Subject: Re: Trigger (or something similar) on table rename?