Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 40889B5DCA1 for ; Tue, 12 Jul 2011 10:19:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 40097-05 for ; Tue, 12 Jul 2011 13:19:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 0B15BB5DC99 for ; Tue, 12 Jul 2011 10:19:37 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p6CDJaoj010784; Tue, 12 Jul 2011 09:19:36 -0400 (EDT) To: saravanan cc: pgsql-admin@postgresql.org Subject: Re: Importing the dump file in postgresql-7.4.23 In-reply-to: <1310475278308-4578769.post@n5.nabble.com> References: <1310475278308-4578769.post@n5.nabble.com> Comments: In-reply-to saravanan message dated "Tue, 12 Jul 2011 05:54:38 -0700" Date: Tue, 12 Jul 2011 09:19:36 -0400 Message-ID: <10783.1310476776@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/71 X-Sequence-Number: 37850 saravanan writes: > I'm using PostgreSQL-7.4.23 version. I have one dump file that was taken > using pg_dumpall utility. Now i tried to import the dump file. But its > throwing me lot of *Invalid Command \N error* , *ERROR: type tsvector does > not exist* and *\t: extra argument "string" ignored error* Look at the *first* error (which you did not show us). I'm betting it's something along the line of a missing library file, eg contrib/tsearch2 not available. A missing datatype would cascade to table creation failures, and then to COPY commands failing. The stuff you did show us looks like the detritus from failed COPY commands. regards, tom lane PS: You do know that 7.4.x was obsoleted some time ago, no?