aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_db.c
diff options
context:
space:
mode:
authorPhilip Warner <pjw@rhyme.com.au>2001-03-19 02:35:29 +0000
committerPhilip Warner <pjw@rhyme.com.au>2001-03-19 02:35:29 +0000
commitcfeccdf80a6fd214f22a13d12a237096ed77e23f (patch)
tree3c38dc1d2f70ebc55bf86a5c628bf170f36f1fb1 /src/bin/pg_dump/pg_backup_db.c
parent31b5c05819939c21f5b1e8aa75d3699e4fdda4a8 (diff)
downloadpostgresql-cfeccdf80a6fd214f22a13d12a237096ed77e23f.tar.gz
postgresql-cfeccdf80a6fd214f22a13d12a237096ed77e23f.zip
- Added CVS headers to files
- Avoid forcing table name to lower case in FixupBlobXrefs - Removed fmtId calls for all ArchiveEntry name fields. This fixes quoting problems in trigger enable/disable code for mixed case table names, and avoids commands like 'pg_restore -t '"TblA"'
Diffstat (limited to 'src/bin/pg_dump/pg_backup_db.c')
-rw-r--r--src/bin/pg_dump/pg_backup_db.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_backup_db.c b/src/bin/pg_dump/pg_backup_db.c
index a3de94df810..3e3976bc741 100644
--- a/src/bin/pg_dump/pg_backup_db.c
+++ b/src/bin/pg_dump/pg_backup_db.c
@@ -5,11 +5,18 @@
* Implements the basic DB functions used by the archiver.
*
* IDENTIFICATION
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_db.c,v 1.15 2001/03/19 02:35:28 pjw Exp $
+ *
+ * NOTES
*
* Modifications - 04-Jan-2001 - pjw@rhyme.com.au
*
* - Check results of PQ routines more carefully.
*
+ * Modifications - 19-Mar-2001 - pjw@rhyme.com.au
+ *
+ * - Avoid forcing table name to lower case in FixupBlobXrefs!
+ *
*-------------------------------------------------------------------------
*/
@@ -583,9 +590,6 @@ void FixupBlobRefs(ArchiveHandle *AH, char *tablename)
int i, n;
char *attr;
- for(i=0 ; i < strlen(tablename) ; i++)
- tablename[i] = tolower((unsigned char) tablename[i]);
-
if (strcmp(tablename, BLOB_XREF_TABLE) == 0)
return;