diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-10-03 20:10:59 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-10-03 20:10:59 +0000 |
| commit | ef88199f611e625b496ff92aa17a447d254b9796 (patch) | |
| tree | ee63d1126cc5b1102dc60c94520beed3268b1a1a /src/bin/pg_dump/pg_backup_db.c | |
| parent | 15c194c1d51991deb7b7e6a00c6ce89575654120 (diff) | |
| download | postgresql-ef88199f611e625b496ff92aa17a447d254b9796.tar.gz | |
Issue 'SET check_function_bodies = false' to suppress possible restore
failures in SQL functions, due to forward references or unqualified
references to objects in other schemas. Per recent discussion.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_db.c')
| -rw-r--r-- | src/bin/pg_dump/pg_backup_db.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/pg_dump/pg_backup_db.c b/src/bin/pg_dump/pg_backup_db.c index ae3d9cc14a..cab9d7830b 100644 --- a/src/bin/pg_dump/pg_backup_db.c +++ b/src/bin/pg_dump/pg_backup_db.c @@ -5,7 +5,7 @@ * Implements the basic DB functions used by the archiver. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_db.c,v 1.49 2003/07/23 08:47:30 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_db.c,v 1.50 2003/10/03 20:10:59 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -116,11 +116,6 @@ ReconnectToServer(ArchiveHandle *AH, const char *dbname, const char *username) PQfinish(AH->connection); AH->connection = newConn; - /* don't assume we still know the output schema */ - if (AH->currSchema) - free(AH->currSchema); - AH->currSchema = strdup(""); - return 1; } |
