OSDN Git Service

Make currtid() functions require SELECT privileges on the target table.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Aug 2007 00:57:36 +0000 (00:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Aug 2007 00:57:36 +0000 (00:57 +0000)
commit741e952b54c81d5cc2e46735d12351a83c1c9c6d
treef4d8d6ea5fcd84e422e504eb2a29c0ff070631d0
parent56f3fb3ba1aed1efbfb6b50e55159df8a0ad2f39
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.
src/backend/utils/adt/tid.c