Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCOgm-0007MX-Tq for pgsql-admin@postgresql.org; Fri, 14 Sep 2012 05:43:41 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCOgl-0003wu-Eq for pgsql-admin@postgresql.org; Fri, 14 Sep 2012 05:43:40 +0000 Received: by pbbrr13 with SMTP id rr13so5094871pbb.19 for ; Thu, 13 Sep 2012 22:43:38 -0700 (PDT) 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 :content-type:content-transfer-encoding; bh=6yHINIOj2tvmqabl1MW3ji2Jy0PxREac2+IQl7yIqCg=; b=oOlPqBRjXt8RBOHwlqb5CU4ojaUQx1m7RQw9RLTPV9nwoUNF7yOtZMsxDVSkGNQl8Y x5B6xEicp/YN+acKWTGUGOT+iK7p70Un0nN4k1UKH/3HG4esmGhePzLw59ZbhG/FXqi1 joOcyqOXnYR7w5AAbfvf1LXs+N6CsaR2WQrl78oiS1FGs6DqlYiZqLVfwf0FtelTxgRB 6wgS+62Ou9mV11U479VeQgUuPja2giCGEzcioP2RkxTyD29Z7NvYvtVEI7tJTrhhNfXP bWqjhoSkbB0lJLUTKs43ECtjVI0kF6tBXjpN0WvIgNRfcblWfO3Um85upNWXXI1mHhds PKhQ== Received: by 10.68.203.34 with SMTP id kn2mr3575431pbc.144.1347601418620; Thu, 13 Sep 2012 22:43:38 -0700 (PDT) Received: from [192.168.1.7] ([116.226.32.153]) by mx.google.com with ESMTPS id wn4sm453495pbc.55.2012.09.13.22.43.35 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Sep 2012 22:43:37 -0700 (PDT) Message-ID: <5052C402.8020003@gmail.com> Date: Fri, 14 Sep 2012 13:43:30 +0800 From: Rural Hunter User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: pg_upgrade from 9.1.3 to 9.2 failed Content-Type: text/plain; charset=GB18030; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201209/79 X-Sequence-Number: 40020 I am trying to test the upgrade from my 9.1.3 db to 9.2 on ubuntu 10.10 server. I got error below when run the pg_upgrade command. What can I do for this? $ /opt/PostgreSQL/9.2/bin/pg_upgrade -b /opt/PostgreSQL/9.1/bin -B /opt/PostgreSQL/9.2/bin -d /raid/pgsql -D /raid/pg92data Performing Consistency Checks ----------------------------- Checking current, bin, and data directories ok Checking cluster versions ok Checking database user is a superuser ok Checking for prepared transactions ok Checking for reg* system OID user data types ok Checking for contrib/isn with bigint-passing mismatch ok Creating catalog dump ok Checking for presence of required libraries ok Checking database user is a superuser ok Checking for prepared transactions ok If pg_upgrade fails after this point, you must re-initdb the new cluster before continuing. Performing Upgrade ------------------ Analyzing all rows in the new cluster ok Freezing all rows on the new cluster ok Deleting files from new pg_clog ok Copying old pg_clog to new server ok Setting next transaction ID for new cluster ok Resetting WAL archives ok Setting frozenxid counters in new cluster ok Creating databases in the new cluster ok Adding support functions to new cluster ok Restoring database schema to new cluster ok Removing support functions from new cluster ok Copying user relation files /raid/pgsql/base/6087920/6088238 old and new databases "testdb" have a different number of relations Failure, exiting