pgsql: Classify DROP operations by whether or not they are user-initiat

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Classify DROP operations by whether or not they are user-initiat
Date: 2012-01-26 14:40:13
Message-ID: E1RqQUn-0006TG-S9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Classify DROP operations by whether or not they are user-initiated.

This doesn't do anything useful just yet, but is intended as supporting
infrastructure for allowing sepgsql to sensibly check DROP permissions.

KaiGai Kohei and Robert Haas

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0e549697d1c6b8eeb623c497dc38a5aed4deea1e

Modified Files
--------------
src/backend/catalog/aclchk.c | 2 +-
src/backend/catalog/dependency.c | 29 +++++++++++++++++++++------
src/backend/catalog/heap.c | 5 ++-
src/backend/catalog/pg_shdepend.c | 2 +-
src/backend/commands/cluster.c | 2 +-
src/backend/commands/dropcmds.c | 2 +-
src/backend/commands/foreigncmds.c | 2 +-
src/backend/commands/opclasscmds.c | 4 +-
src/backend/commands/tablecmds.c | 29 ++++++++++++++++++++-------
src/backend/commands/typecmds.c | 2 +-
src/backend/postmaster/autovacuum.c | 2 +-
src/backend/storage/large_object/inv_api.c | 2 +-
src/include/catalog/dependency.h | 6 +++-
src/include/catalog/heap.h | 2 +-
14 files changed, 61 insertions(+), 30 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2012-01-26 15:01:21 pgsql: Add deadlock counter to pg_stat_database
Previous Message Magnus Hagander 2012-01-26 13:44:18 pgsql: Track temporary file count and size in pg_stat_database