From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | scrappy(at)hub(dot)org (The Hermit Hacker) |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] How to...? |
Date: | 1998-03-09 00:28:50 |
Message-ID: | 199803090028.TAA03726@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>
>
> Bruce...
>
> Did I miss something here? I just looked through the migration
> file for 6.2.1->6.3, and it doesn't seem to say, but how do you dump
> the data from a v6.2.1 database and then reload it to a v6.3 one?
>
> Using v6.2.1's pg_dump/pg_dumpall, I did:
>
> pg_dumpall -o > db.dump
Yes.
>
> That worked.
>
> Then, I installed v6.3, and using its psql, I did:
>
> psql -e < db.dump
>
> That failed miserably.
OK.
>
> First thing that failed was building the new pg_user...so I cut
> out that and did it manually using createuser...
>
> Then, using what was left, I did:
>
> psql -e < db.dump
>
> Again. Failed misearbly, with the following coming from the 'copy
> to <relname> from stdin;' section:
>
> 344984 johnb xgSldZdYEgIWo clio.trends.ca n \N
Check what is in the file around this line. It has existed the COPY for
some reason, and the \N is triggering the \? output.
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
From | Date | Subject | |
---|---|---|---|
Next Message | The Hermit Hacker | 1998-03-09 01:05:59 | Re: [HACKERS] What is this...? |
Previous Message | Bruce Momjian | 1998-03-08 23:34:27 | Re: [HACKERS] What is this...? |