pgsql: Extend object-access hook machinery to support post-alter events

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Extend object-access hook machinery to support post-alter events
Date: 2013-03-18 02:53:10
Message-ID: E1UHQCE-00055i-NG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Extend object-access hook machinery to support post-alter events.

This also slightly widens the scope of what we support in terms of
post-create events.

KaiGai Kohei, with a few changes, mostly to the comments, by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/05f3f9c7b2922b2a064418b5cd87b372d1b73412

Modified Files
--------------
src/backend/catalog/aclchk.c | 8 ++
src/backend/catalog/heap.c | 41 ++++++++---
src/backend/catalog/index.c | 13 +++-
src/backend/catalog/objectaccess.c | 23 ++++++
src/backend/catalog/pg_constraint.c | 10 ++-
src/backend/catalog/pg_db_role_setting.c | 4 +
src/backend/catalog/pg_type.c | 2 +
src/backend/commands/alter.c | 7 ++
src/backend/commands/cluster.c | 33 +++++++--
src/backend/commands/dbcommands.c | 10 +++
src/backend/commands/event_trigger.c | 6 ++
src/backend/commands/extension.c | 6 ++
src/backend/commands/foreigncmds.c | 10 +++
src/backend/commands/functioncmds.c | 2 +
src/backend/commands/matview.c | 4 +-
src/backend/commands/opclasscmds.c | 6 ++
src/backend/commands/schemacmds.c | 5 ++
src/backend/commands/sequence.c | 3 +
src/backend/commands/tablecmds.c | 116 +++++++++++++++++++++++++----
src/backend/commands/tablespace.c | 5 ++
src/backend/commands/trigger.c | 12 +++-
src/backend/commands/tsearchcmds.c | 5 ++
src/backend/commands/typecmds.c | 24 ++++++-
src/backend/commands/user.c | 4 +
src/backend/rewrite/rewriteDefine.c | 3 +
src/include/catalog/heap.h | 6 +-
src/include/catalog/index.h | 3 +-
src/include/catalog/objectaccess.h | 49 ++++++++++++-
src/include/catalog/pg_constraint.h | 3 +-
src/include/commands/cluster.h | 3 +-
src/include/commands/tablecmds.h | 2 +-
31 files changed, 375 insertions(+), 53 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-03-18 03:01:32 pgsql: Increase timeout delays in new timeouts isolation test.
Previous Message Tom Lane 2013-03-18 02:42:30 pgsql: Improve signal-handler lockout mechanism in timeout.c.