aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin/ginutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-01-05 16:54:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-01-05 16:54:37 +0000
commitb0a6ad70a12b6949fdebffa8ca1650162bf0254a (patch)
tree5f54962ab205dc20a48f8398bc39403f193b93ab /src/backend/access/gin/ginutil.c
parentf42a7f1e62d8fa8dc6a1e5cc351cd6ffa4ec1b22 (diff)
downloadpostgresql-b0a6ad70a12b6949fdebffa8ca1650162bf0254a.tar.gz
postgresql-b0a6ad70a12b6949fdebffa8ca1650162bf0254a.zip
Add a --role option to pg_dump, pg_dumpall, and pg_restore. This allows
performing dumps and restores in accordance with a security policy that forbids logging in directly as superuser, but instead specifies that you should log into an admin account and then SET ROLE to the superuser. In passing, clean up some ugly and mostly-broken code for quoting shell arguments in pg_dumpall. Benedek László, with some help from Tom Lane
Diffstat (limited to 'src/backend/access/gin/ginutil.c')
0 files changed, 0 insertions, 0 deletions