From: | "G(dot) Anthony Reina" <reina(at)nsi(dot)edu> |
---|---|
To: | "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | [Fwd: Weird backup file] |
Date: | 2000-11-20 18:18:41 |
Message-ID: | 3A196B01.6B24C150@nsi.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I sent this e-mail last week but hadn't received any response. Given
Thomas' last message about seeing responses to threads he never recalled
seeing in the first place, I'm wondering whether the original message
made it to the server.
-Tony
p.s. I still can't seem to get the "DIGEST" to work on HACKERS. Seems to
be some problems with the majordomo.
Here's my original message:
-------- Original Message --------
Subject: Weird backup file
Date: Fri, 17 Nov 2000 11:27:32 -0800
From: "G. Anthony Reina" <reina(at)nsi(dot)edu>
Organization: The Neurosciences Institute
To: "pgsql-hackers(at)postgreSQL(dot)org"
<pgsql-hackers(at)postgreSQL(dot)org>,reina(at)nsi(dot)edu
I backed up my database from Postgres 6.5.3 and migrated to 7.0.2
several a few months ago. For some reason, data was lost in the
transition. I've finally pinned it down to the attached file (abridged
to point out the problem).
It looks like two things happened in the backup. First, when I move from
'G' to 'F' in the names column, I seem to lose the column called
'dsp_chan'. Second, the double quotes around the float_4 array called
'spike_hist' aren't included.
I'm not sure if the double quotes are necessary, but the missing column
is probably a problem. I added this column after the database was
created by using 'alter table ellipse_cell_proc add column dsp_chan' and
then put it in the correct position by using:
SELECT name, arm, rep, cycle, hemisphere, area, cell, dsp_chan,
spike_hist INTO xxx FROM ellipse_cell_proc;
DROP TABLE ellipse_cell_proc;
ALTER TABLE xxx RENAME TO ellipse_cell_proc;
Can anyone explain what went wrong with the backup or where I erred
adding the column?
Thanks.
-Tony
Attachment | Content-Type | Size |
---|---|---|
backup.sql | text/plain | 14.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2000-11-20 18:19:29 | SET SESSION CHARACTERISTICS |
Previous Message | Thomas Lockhart | 2000-11-20 18:05:38 | Re: AW: AW: Could turn on -O2 in AIX |