"A. Kretschmer" <[EMAIL PROTECTED]> writes:

> am  27.01.2006, um 14:21:31 +0000 mailte Matthew Henderson folgendes:
>> Okay, so if I have 7.4 installed and I have the old
>> harddisk mount under /mnt/hda can I do something
>> like 
>> 
>>   pg_dump /mnt/hda/path_to_old_database > dump.txt
>
> No, this is imposible IMHO. You need a PG-Server with this version
> (7.4), to read the data. pg_dump is only a client for the DB, it can't
> read the files.

In addition, it's considered best practice to run (in this case) the
7.4 server against the old database, and use the 8.X pg_dump to dump
it out for loading into the 8.X server.

-Doug

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to