Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id E16BD632805 for ; Thu, 25 Mar 2010 23:20:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 18899-06 for ; Fri, 26 Mar 2010 02:19:53 +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 2F3CD632636 for ; Thu, 25 Mar 2010 23:20:02 -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 o2Q2JvMK029968; Thu, 25 Mar 2010 22:19:58 -0400 (EDT) To: "Dai, Tino" cc: "pgsql-admin@postgresql.org" Subject: Re: Questions about moving a restoring a dump from 8.1.11 to 8.2.16 In-reply-to: <1CA7FF980DA3824F9A5C31532B7A40DCC50DE3C7@LCXCLMB01.LCDS.LOC.GOV> References: <1CA7FF980DA3824F9A5C31532B7A40DCC50DE3C7@LCXCLMB01.LCDS.LOC.GOV> Comments: In-reply-to "Dai, Tino" message dated "Thu, 25 Mar 2010 21:43:02 -0400" Date: Thu, 25 Mar 2010 22:19:57 -0400 Message-ID: <29967.1269569997@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.462 tagged_above=-10 required=5 tests=AWL=0.137, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/204 X-Sequence-Number: 34003 "Dai, Tino" writes: > I shut down the database to upgrade from 8.1.11 to 8.2.16. We use pg_dump > to dump and psql with the < sign to restore. But I had a problem with restoring the > dump. I got a > ERROR: function "snb_ru_init(internal)" does not exist > CONTEXT: COPY pg_ts_dict, line 3, column dict_init: "snb_ru_init(internal)" Is that really the first error you got? It looks like you've neglected to provide contrib/tsearch2 in the new installation. regards, tom lane