pgsql: Make currtid() functions require SELECT privileges on the target - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Make currtid() functions require SELECT privileges on the target
Date
Msg-id 20070827005736.B056E7541FB@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Make currtid() functions require SELECT privileges on the target table.
While it's not clear that TID linkage info is of any great use to a
nefarious user, it's certainly unexpected that these functions wouldn't
insist on read privileges.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        tid.c (r1.57 -> r1.58)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/tid.c?r1=1.57&r2=1.58)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Restrict pgrowlocks function to superusers.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Restrict pg_relation_size to relation owner, pg_database_size to