From cfeccdf80a6fd214f22a13d12a237096ed77e23f Mon Sep 17 00:00:00 2001 From: Philip Warner Date: Mon, 19 Mar 2001 02:35:29 +0000 Subject: - 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"' --- src/bin/pg_dump/pg_backup_db.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/bin/pg_dump/pg_backup_db.c') 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; -- cgit v1.2.3