mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
pg_dump/pg_restore now always use SET SESSION AUTHORIZATION, not \connect,
to control object ownership. The use-set-session-authorization and no-reconnect switches are obsolete (still accepted on the command line, but they don't do anything). This is a precursor to fixing handling of CREATE SCHEMA, which will be a separate commit.
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup.h,v 1.25 2003/08/28 20:21:34 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup.h,v 1.26 2003/09/23 22:48:53 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -62,12 +62,7 @@ typedef int (*DataDumperPtr) (Archive *AH, char *oid, void *userArg);
|
||||
typedef struct _restoreOptions
|
||||
{
|
||||
int create; /* Issue commands to create the database */
|
||||
int noOwner; /* Don't reconnect to database to match
|
||||
* original object owner */
|
||||
int noReconnect; /* Don't reconnect to database under any
|
||||
* cirsumstances */
|
||||
int use_setsessauth;/* use SET SESSSION AUTHORIZATION instead
|
||||
* of \connect */
|
||||
int noOwner; /* Don't try to match original object owner */
|
||||
int disable_triggers; /* disable triggers during
|
||||
* data-only restore */
|
||||
char *superuser; /* Username to use as superuser */
|
||||
|
Reference in New Issue
Block a user