Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 5A3AB1337B80 for ; Fri, 1 Apr 2011 12:37:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 72313-02 for ; Fri, 1 Apr 2011 15:37:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from rs73.luxsci.com (rs73.luxsci.com [64.49.254.135]) by mail.postgresql.org (Postfix) with ESMTP id B8C771337B6E for ; Fri, 1 Apr 2011 12:37:05 -0300 (ADT) Received: from SenthilKumarG (NSG-Static-233.156.72.182.airtel.in [182.72.156.233] (may be forged)) (authenticated bits=0) by rs73.luxsci.com (8.13.8/8.13.8) with ESMTP id p31Fawd3011874; Fri, 1 Apr 2011 10:36:59 -0500 Message-Id: <201104011536.p31Fawd3011874@rs73.luxsci.com> From: "Senthil Kumar G" To: "'Kevin Grittner'" , In-Reply-To: <4D95A686020000250003C123@gw.wicourts.gov> Subject: Re: DB Import Error... Date: Fri, 1 Apr 2011 21:07:05 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcvwgCZYRkNI1CsCRcmU66E5pLp9rgAAh5fQ X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16543 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.61 tagged_above=-10 required=5 tests=BAYES_00=-1.9, MAY_BE_FORGED=0.29 X-Spam-Level: X-Archive-Number: 201104/25 X-Sequence-Number: 37206 Hi Kevin: Thanks for your quick response. I will try out this and come back if issue was not resolved still. Thanks Senthil -----Original Message----- From: Kevin Grittner [mailto:Kevin.Grittner@wicourts.gov] Sent: Friday, April 01, 2011 8:49 PM To: pgsql-admin@postgresql.org; Senthil Kumar G Subject: Re: [ADMIN] DB Import Error... "Senthil Kumar G" wrote: > I am upgrading my staging environment from postgresql 8.2.3 to > 9.0.3. > > I was able to do successfully. > [errors while applying dump to new database] > What could be the reason? What should i do to resolve this? The recommended upgrade technique is to us pg_dump (or pg_dumpall) from the newer version (9.0.3 in this case) to access the old database (running the 8.2.3 server in this case). If you followed some other procedure, like using the 8.2.3 software to dump the database, you should try the recommended approach instead. I generally dump in plain text format (the default) and pipe it to psql. -Kevin