summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2014-01-07 17:47:52 +0100
committerMagnus Hagander <magnus@hagander.net>2014-01-07 17:50:56 +0100
commit9544cc0d657ea09d27667c8c70302b06fbe0121b (patch)
tree94cf2675df4fee2ba0714505dccb0ca30c714962 /src/backend/access/gist/gistutil.c
parentb168c5ef2730d0ecaa7462f0b90345b0a3798c16 (diff)
downloadpostgresql-9544cc0d657ea09d27667c8c70302b06fbe0121b.tar.gz
Move permissions check from do_pg_start_backup to pg_start_backup
And the same for do_pg_stop_backup. The code in do_pg_* is not allowed to access the catalogs. For manual base backups, the permissions check can be handled in the calling function, and for streaming base backups only users with the required permissions can get past the authentication step in the first place. Reported by Antonin Houska, diagnosed by Andres Freund
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions