Skip site navigation (1) Skip section navigation (2)

pgsql: Object access hook framework, with post-creation hook.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Object access hook framework, with post-creation hook.
Date: 2010-11-25 16:52:08
Message-ID: E1PLf3I-00043V-TT@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Object access hook framework, with post-creation hook.

After a SQL object is created, we provide an opportunity for security
or logging plugins to get control; for example, a security label provider
could use this to assign an initial security label to newly created
objects.  The basic infrastructure is (hopefully) reusable for other types
of events that might require similar treatment.

KaiGai Kohei, with minor adjustments.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=cc1ed40d57aa68322e43a7b0a3320a6c5aff010a

Modified Files
--------------
src/backend/catalog/heap.c                 |    4 ++
src/backend/catalog/pg_constraint.c        |    4 ++
src/backend/catalog/pg_conversion.c        |    5 +++
src/backend/catalog/pg_namespace.c         |    4 ++
src/backend/catalog/pg_operator.c          |    9 +++++
src/backend/catalog/pg_proc.c              |    4 ++
src/backend/catalog/pg_type.c              |    7 ++++
src/backend/commands/dbcommands.c          |    4 ++
src/backend/commands/foreigncmds.c         |   11 +++++++
src/backend/commands/functioncmds.c        |    5 +++
src/backend/commands/opclasscmds.c         |    9 +++++
src/backend/commands/proclang.c            |    5 +++
src/backend/commands/tablecmds.c           |    5 +++
src/backend/commands/tablespace.c          |    5 +++
src/backend/commands/trigger.c             |    5 +++
src/backend/commands/tsearchcmds.c         |   14 ++++++++
src/backend/commands/user.c                |    4 ++
src/backend/rewrite/rewriteDefine.c        |    5 +++
src/backend/storage/large_object/inv_api.c |    5 +++
src/backend/utils/init/globals.c           |    7 ++++
src/include/catalog/objectaccess.h         |   46 ++++++++++++++++++++++++++++
21 files changed, 167 insertions(+), 0 deletions(-)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2010-11-25 17:51:43
Subject: pgsql: Restructure how libpq includes external C files, for clarity.
Previous:From: Alvaro HerreraDate: 2010-11-25 12:55:02
Subject: Re: pgsql: Remove useless whitespace at end of lines

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group