Make currtid() functions require SELECT privileges on the target table.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 741e952b54c81d5cc2e46735d12351a83c1c9c6d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-08-27T00:57:36Z
Releases: 8.3.0
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.

Files

PathChange+/−
src/backend/utils/adt/tid.c modified +19 −1