This is a discussion on Re: pg_dump failure in tar format. within the pgsql Admins forums, part of the PostgreSQL category; --> I was told that because the data is on postgres 8.0 and I'm trying to restore on another database ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I was told that because the data is on postgres 8.0 and I'm trying to restore on another database which 7.3 that I can not do that. However, researching more, I could not find a proof to what I was told, So, I will try to use -Fc instead. Do you agree that I can restore with -Fc regardless of the different versions of the databases? Pg_dump is running against 8.0 database Pg_restore is running against 7.3 database Thanks, -- Husam Tomeh Sr. Database Administrator First American Real Estate Solutions Direct: (714) 701-5674 E-mail: htomeh@firstam.com -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Monday, August 01, 2005 5:18 PM To: Tomeh, Husam Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] pg_dump failure in tar format. "Tomeh, Husam" <htomeh@firstam.com> writes: > I'm getting the following error message (postgres 8.0): > pg_dump: [tar archiver] could not write to tar member (wrote 2128, > attempted 3738) when I run pg_dump with -Ft (tar format). IIRC there are size limitations in the tar format. Is there a reason you don't use -Fc instead? regards, tom lane ************************************************** ******************** This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged. If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter. Thank you. FADLD Tag ************************************************** ******************** ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |
| ||||
| "Tomeh, Husam" <htomeh@firstam.com> writes: > I was told that because the data is on postgres 8.0 and I'm trying to > restore on another database which 7.3 that I can not do that. However, > researching more, I could not find a proof to what I was told, So, I > will try to use -Fc instead. Do you agree that I can restore with -Fc > regardless of the different versions of the databases? You're very likely going to have some issues with SQL command syntax, but I don't believe that using -Ft instead of -Fc would help on that. My recommendation is to try a schema-only dump (-s option) and make sure you can load that, before you spend time making and loading a full dump. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |