Re: ALTER TABLE ... NOREWRITE option - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: ALTER TABLE ... NOREWRITE option
Date
Msg-id m2boe8dtsz.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: ALTER TABLE ... NOREWRITE option  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: ALTER TABLE ... NOREWRITE option  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
>> CREATE EVENT TRIGGER my_event_trigger
>>     ON table_rewrite
>>     EXECUTE PROCEDURE consider_whether_to_throw_an_error();
>
> +1, I was just thinking that myself.

+1, and I think that can happen for 9.3, as soon as we agree on the list
of code points where we want that event to fire. ALTER TABLE variants
that are rewriting the heap, sure. CLUSTER? VACUUM FULL? TRUNCATE?

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Dumping an Extension's Script
Next
From: Andres Freund
Date:
Subject: Re: Review: Extra Daemons / bgworker