Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VyPYd-0007VU-Jy for pgsql-general@arkaria.postgresql.org; Wed, 01 Jan 2014 17:26:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VyPYc-0005RZ-Uj for pgsql-general@arkaria.postgresql.org; Wed, 01 Jan 2014 17:26:14 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VyPYa-0005RO-Gz for pgsql-general@postgresql.org; Wed, 01 Jan 2014 17:26:12 +0000 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VyPYT-0001iN-AJ for pgsql-general@postgresql.org; Wed, 01 Jan 2014 17:26:11 +0000 Received: by mail-pa0-f42.google.com with SMTP id lj1so13858177pab.1 for ; Wed, 01 Jan 2014 09:26:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=zMO/mBfd1ontsmk31NALuL5eirQWU/5Q+3pPpTLfe/M=; b=KyfughVIN01ogydNemdLC48lBWP6K6bj34SpjufFlh7ivJ1iIze8YQ7vfjEBACZdkm qwjwqGn0jVtUlBn/uXRLcb2xJGuwwQVp71u4DIBII7i6BAsiO55bs9fiKYZAPDNb7cYU pj6jJk//+kQNQPam/a2jiJgGtWSEqKlooxlqnAkK0gBEEbCCUHvFPHy33TQbaqt4pGHt syDu2NZ8NDJ5XnyRcTJE14tE50F8907aEowMiu7aD4O+6qLM+jV4dgXZnwK+kOMCGa2c wHO5y0O5ZbA7d+hpSY6ytaMfuVKLQtzpSlrcQzKkHYSjwOTumCfvKBtHDonMb+K1zzTX TSVg== X-Received: by 10.66.228.201 with SMTP id sk9mr35282965pac.134.1388597163348; Wed, 01 Jan 2014 09:26:03 -0800 (PST) Received: from panda.site (174-21-132-251.tukw.qwest.net. [174.21.132.251]) by mx.google.com with ESMTPSA id ae5sm126120476pac.18.2014.01.01.09.26.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 Jan 2014 09:26:02 -0800 (PST) Message-ID: <52C44FA9.2080500@gmail.com> Date: Wed, 01 Jan 2014 09:26:01 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Reiser, John J." , "pgsql-general@postgresql.org" Subject: Re: duplicate OID issue when using pg_upgrade to move from 8.4 to 9.2 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 01/01/2014 09:08 AM, Reiser, John J. wrote: > The --link argument doesn't work, either: > > > Consult the last few lines of "pg_upgrade_restore.log" for > the probable cause of the failure. > Failure, exiting > bash-4.1$ tail -n 20 pg_upgrade_restore.log > (1 row) > > CREATE TYPE "spheroid" ( > INTERNALLENGTH = 65, > INPUT = spheroid_in, > OUTPUT = spheroid_out, > ALIGNMENT = double, > STORAGE = plain > ); > CREATE TYPE > ALTER TYPE "public"."spheroid" OWNER TO "reiser"; > ALTER TYPE > SET search_path = "sde", pg_catalog; > SET > CREATE FUNCTION "st_envelope_in"(cstring) RETURNS st_envelope > LANGUAGE "c" IMMUTABLE STRICT > AS 'st_geometry', 'ST_ENVELOPE_In'; > psql:pg_upgrade_dump_db.sql:371910: ERROR: duplicate key value violates > unique constraint "pg_type_oid_index" > DETAIL: Key (oid)=(1407909) already exists. > > Again, any help that you could provide would be greatly appreciated. So have you already installed the GIS stuff into the 9.2 cluster before the upgrade? > John > -- Adrian Klaver adrian.klaver@gmail.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general