Re[2]: [HACKERS] Database Restore with 6.1 fails (Name -> na - Mailing list pgsql-hackers

From Leo Shuster
Subject Re[2]: [HACKERS] Database Restore with 6.1 fails (Name -> na
Date
Msg-id 51832abeb382eb49e444b4fc28cbdf06
Whole thread Raw
List pgsql-hackers
Marc, maybe the dump/dump_all scripts need to be re-done to accommodate
those people that were using case-sensitive field names in pre-6.1
Postgres versions?

Leo
_______________________________________________________________________________
Subject: Re: [HACKERS] Database Restore with 6.1 fails (Name -> name)
From:    The Hermit Hacker <scrappy%hub.org@interlockp.lubrizol.com> at LZ-
INTERNET
Date:    6/15/97  12:35 PM

On Sun, 15 Jun 1997, Sean Reifschneider wrote:

> Greetings.  I just built 6.1 on a Linux 2.0.29 (RedHat) machine, following
> the instructions to the letter.  Everything looked fine until I went
> to access one of my databases.  Some of them seem to be fine, but others
> have had the field names converted to all lower-case.  When I dropped the
> table and re-created it, it still ended up with the field turned into
> lower case.
>
> I dumped the database with the dumpall command and restored as suggested
> in the installation instructions.  Here's a sample session:
>
>    xvscanpub=> CREATE TABLE ProjUser (Key int4, Name text) archive = none;
>    CREATE
>    xvscanpub=> COPY ProjUser WITH OIDS FROM stdin;
>    Enter info followed by a newline
>    End with a backslash and a period on a line by itself.
>    >> 513147  1       jafo
>    >> 513148  2       efm
>    >> \.
>    resetting connection
>    xvscanpub=> select * from ProjUser;
>    key|name
>    ---+----
>    (0 rows)
>
> I backed off to 6.0, but wanted to send in a report.  Other than that,
> it looked fine...

        Case sensitivity in tables/field names were removed in v6.1...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org

------------------------------

pgsql-hackers by date:

Previous
From: adrian@hottub.org
Date:
Subject: Re: [HACKERS] Clarification of NULL values
Next
From: "Leo Shuster"
Date:
Subject: Re[4]: [HACKERS] Database Restore with 6.1 fails (Name -