Bug #624: case sensitivity in pg_dumpall - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #624: case sensitivity in pg_dumpall
Date
Msg-id 20020326135339.C80B5475D23@postgresql.org
Whole thread Raw
Responses Re: Bug #624: case sensitivity in pg_dumpall
List pgsql-bugs
Volker Klemann (volkerk@gfz-potsdam.de) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
case sensitivity in pg_dumpall

Long Description
Dear people from postgres,
Don't know if I am the first where this bug appeared:
While updating from 7.1.2 to 7.2 I used pg_dumpall to dump
my data as recommended by the INSTALL manual.
When re-instaling the database using 
psql -d template1 -f dumpfile
I got the error
    psql:/home/volkerk/postgres/backups/backup22.03.02:46:     
    \connect: FATAL 1:  Database "rsl" does not exist in the system catalog.
The corresponding lines in the script produced by pg_dumpall are:
45    CREATE DATABASE "RSL" WITH TEMPLATE = template0;
46    \connect RSL volkerk
So, while considering upper and lower cases in 45: using collons
the program missed them in 46:, and tried to log into rsl instead of RSL.
Took me some time to find it, because first 'was searching for
inconsistencies, in the new installation. 

Best wishes,
Volker Klemann

  


Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Bug #623: Compling 7.2 on a Tru64 V5.1 UNIX
Next
From: Tom Lane
Date:
Subject: Re: Bug #624: case sensitivity in pg_dumpall