| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Bruno BAGUETTE" <pgsql-ml(at)baguette(dot)net> |
| Cc: | "'PostgreSQL-general'" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: [REPOST] Problem for dumping a 6.5.2 database |
| Date: | 2003-07-03 17:24:56 |
| Message-ID: | 28269.1057253096@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"Bruno BAGUETTE" <pgsql-ml(at)baguette(dot)net> writes:
> I'm trying to dump a PostgreSQL 6.5.2. database table in order to add it
> in a PostgreSQL 7.3.3 database but I'm encountering some errors :
> -- reading user-defined functions
> getFuncs(): SELECT failed. Explanation from backend: 'pqReadData() --
> backend closed the channel unexpectedly.
> thedatabasename=> \d tablename;
> pqReadData() -- backend closed the channel unexpectedly.
Looks to me like you've got some serious problems with corruption of the
system tables :-(
If you can SELECT from the tables you need, I'd suggest dumping out
their contents using COPY commands. Then you can reload those data
files into a newer database (assuming you remember what the table
schemas were). 6.5.2 is old enough that I don't really remember how
to do any sort of data-recovery work with it...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manuel Sugawara | 2003-07-03 17:36:43 | Re: [REPOST] Problem for dumping a 6.5.2 database |
| Previous Message | Tom Lane | 2003-07-03 17:18:09 | Are we backwards on the sign of timezones? |