Add option to output SET SESSION AUTHORIZATION commands rather than
Peter Eisentraut <peter_e@gmx.net>
Add option to output SET SESSION AUTHORIZATION commands rather than \connect, to avoid possible password prompts and such, at the drawback of having to have superuser access.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dump.sgml | modified | +142 −47 |
| doc/src/sgml/ref/pg_restore.sgml | modified | +79 −23 |
| src/bin/pg_dump/pg_backup_archiver.c | modified | +70 −20 |
| src/bin/pg_dump/pg_backup_archiver.h | modified | +2 −2 |
| src/bin/pg_dump/pg_backup_db.c | modified | +28 −13 |
| src/bin/pg_dump/pg_backup.h | modified | +2 −1 |
| src/bin/pg_dump/pg_dump.c | modified | +40 −4 |
| src/bin/pg_dump/pg_dump.h | modified | +2 −2 |
| src/bin/pg_dump/pg_restore.c | modified | +70 −36 |