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

Column-Level Privileges

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Markus Wanner <markus(at)bluegap(dot)ch>,Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Column-Level Privileges
Date: 2009-01-16 04:58:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

  Attached is an updated patch for column-level privileges.  This is a
  very minor change to use get_rel_name(), so the main point of this is
  to update the general community on the status of the patch.  It was
  pointed out to me that some folks havn't been able to follow along and
  so aren't sure of the status.

  Overall, I feel this patch is definitely ready for another review.
  Markus, Alvaro, as the official CommitFest Reviewers, I'd really like
  your feedback on this version.  Comments are welcome from others too,
  of course.

  Changes since the November patch:

  - column-level privileges are now respected during JOINs, including
    NATURAL JOINs and JOINs with USING clauses, per the SQL
    specification, many thanks to KaiGai and Tom for that!
  - Regression tests have been added and are reasonably extensive, but
    more testing is always good, please test and comment if you're
    interested in this capability!
  - Documentation has been added
  - psql and pg_dump, support has been added
  - The code has been cleaned up, bits of code refactored into seperate
    functions (pg_attribute_aclcheck_all, ExecGrant_Attribute), follows
    coding practices better
  - execMain is now cleaner in how it handles permissions that aren't
    applicable to columns
  - Dependency handling has been fixed
  - Interfaces have been made cleaner between acl.c and aclchk.c,
    aclchk.c no longer knows the deep innards of an Acl
  - Comments added about impact of attacl being added to pg_attribute
  - Priv node renamed to AccessPriv
  - RTE variables cols_sel and cols_mod changed to Bitmapsets
  - outfuncs support added for AccessPriv
  - readfuncs now support Bitmapsets
  - error-handling for GRANT CREATE (col1) improved
  - system columns now handled when explicitly requested
  - Other minor changes/bug fixes

  I'm not aware of any outstanding issues at this point.  The changes
  recently have been pretty minor, and I really feel like things have
  settled down a great deal with this patch.




pgsql-hackers by date

Next:From: Joshua D. DrakeDate: 2009-01-16 07:14:34
Subject: Re: FWD: Re: Updated backslash consistency patch
Previous:From: Josh BerkusDate: 2009-01-16 04:26:33
Subject: Re: FWD: Re: Updated backslash consistency patch

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