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

pgsql: Refactor seclabel.c to use the new check_object_ownershipfuncti

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor seclabel.c to use the new check_object_ownershipfuncti
Date: 2011-03-04 22:28:36
Message-ID: E1PvdUC-0005NU-DP@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Refactor seclabel.c to use the new check_object_ownership function.

This avoids duplicate (and not-quite-matching) code, and makes the logic
for SECURITY LABEL match COMMENT and ALTER EXTENSION ADD/DROP.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/efa415da8c0fb8c1c0bc50faebac430f8b917571

Modified Files
--------------
src/backend/commands/seclabel.c |   90 ++++++++-------------------------------
1 files changed, 18 insertions(+), 72 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2011-03-05 02:52:04
Subject: pgsql: Create extension infrastructure for the core procedurallanguage
Previous:From: Peter EisentrautDate: 2011-03-04 21:43:03
Subject: pgsql: Don't allow CREATE TABLE AS to create a column with invalidcoll

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