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

pgsql: Fix column privilege checking for cases where parent and child

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix column privilege checking for cases where parent and child
Date: 2009-03-05 17:30:29
Message-ID: 20090305173029.C374C755AA5@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix column privilege checking for cases where parent and child have different
attribute numbering.  Also, a parent whole-row reference should not require
select privilege on child columns that aren't inherited from the parent.
Problem diagnosed by KaiGai Kohei, though this isn't exactly his patch.

Modified Files:
--------------
    pgsql/src/backend/optimizer/prep:
        prepunion.c (r1.166 -> r1.167)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/prep/prepunion.c?r1=1.166&r2=1.167)
    pgsql/src/test/regress/expected:
        privileges.out (r1.45 -> r1.46)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/privileges.out?r1=1.45&r2=1.46)
    pgsql/src/test/regress/sql:
        privileges.sql (r1.24 -> r1.25)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/privileges.sql?r1=1.24&r2=1.25)

pgsql-committers by date

Next:From: Tom LaneDate: 2009-03-05 19:50:03
Subject: pgsql: Remove documentation of log_restartpoints setting, which is
Previous:From: User H-saitoDate: 2009-03-05 17:05:59
Subject: stackbuilder - wizard: New Japanese po file.

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