git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b8e33a8) | patch
Event Trigger for table_rewrite
Sun, 7 Dec 2014 15:55:28 +0000 (00:55 +0900)
Sun, 7 Dec 2014 15:55:28 +0000 (00:55 +0900)
commit 618c9430a82860c84a3be2711eec2c3b43573b2a
Event Trigger for table_rewrite

Generate a table_rewrite event when ALTER TABLE
attempts to rewrite a table. Provide helper
functions to identify table and reason.

Intended use case is to help assess or to react
to schema changes that might hold exclusive locks
for long periods.

Dimitri Fontaine, triggering an edit by Simon Riggs

Reviewed in detail by Michael Paquier
13 files changed:
doc/src/sgml/event-trigger.sgml diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
src/backend/commands/event_trigger.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/utils/cache/evtcache.c diff | blob | blame | history
src/include/catalog/pg_proc.h diff | blob | blame | history
src/include/commands/event_trigger.h diff | blob | blame | history
src/include/utils/builtins.h diff | blob | blame | history
src/include/utils/evtcache.h diff | blob | blame | history
src/test/regress/expected/event_trigger.out diff | blob | blame | history
src/test/regress/parallel_schedule diff | blob | blame | history
src/test/regress/serial_schedule diff | blob | blame | history
src/test/regress/sql/event_trigger.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /