Обсуждение: pgsql: Make currtid() functions require SELECT privileges on the target

Поиск
Список
Период
Сортировка

pgsql: Make currtid() functions require SELECT privileges on the target

От
tgl@postgresql.org (Tom Lane)
Дата:
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)