Re: Event Triggers: adding information - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Event Triggers: adding information
Date
Msg-id 50F8B400.1090701@2ndQuadrant.com
Whole thread Raw
In response to Re: Event Triggers: adding information  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Event Triggers: adding information
List pgsql-hackers
On 01/18/2013 09:33 AM, Andres Freund wrote:
> I have no problem requiring C code to use the even data, be it via
> hooks or via C functions called from event triggers. The problem I
> have with putting in some hooks is that I doubt that you can find
> sensible spots with enough information to actually recreate the DDL
> for a remote system without doing most of the work for command triggers.

Is that so much of a problem if it's OK to break it between major
versions? Maybe require compilation with -DPG_NON_FORWARD_COMPATIBLE to
make the hooks visible in the headers, so nobody can claim they didn't know?

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services




pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Event Triggers: adding information
Next
From: Andres Freund
Date:
Subject: Re: Event Triggers: adding information