summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorPeter Eisentraut2017-02-06 20:17:27 +0000
committerPeter Eisentraut2017-02-06 20:27:01 +0000
commitab82340a43bebe57a3db0e52bb74120b3bb53ae5 (patch)
tree66a8ace42acbc116e9d9e6fbe27f03cf31dc3b78 /src/backend/access/gist/gistutil.c
parentad6af3fc4256c0e1eecf5d93d510da4b44e0d480 (diff)
Avoid permission failure in pg_sequences.last_value
Before, reading pg_sequences.last_value would fail unless the user had appropriate sequence permissions, which would make the pg_sequences view cumbersome to use. Instead, return null instead of the real value when there are no permissions. From: Michael Paquier <[email protected]> Reported-by: Shinoda, Noriyoshi <[email protected]>
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions