From: Bruce Momjian <bruce@momjian.us>
To: Payal Singh <payals1@umbc.edu>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Craig Ringer <ringerc@ringerc.id.au>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Problem with pg_upgrade
Date: Fri, 6 Jul 2012 13:31:53 -0400
Message-ID: <20120706173153.GC6235@momjian.us> (raw)
In-Reply-To: <CAK4ounxaUVnPADZf5f5bABZRZfa99BnayH4n8Ywd-PkY3C3NpQ@mail.gmail.com>
References: <CAK4ounw9CmG0_vUwwtsr2QXXhOJJ8E9g5mw-vuXAo57KSTQFDg@mail.gmail.com>
<4FF5BD8A.5010307@ringerc.id.au>
<CAK4ounyW7oGprZuVRv8tfVROTimeY49yL4HRcq+Yqnt0P-8PXw@mail.gmail.com>
<1316.1341527311@sss.pgh.pa.us>
<20120706033700.GB15538@momjian.us>
<CAK4ounxaUVnPADZf5f5bABZRZfa99BnayH4n8Ywd-PkY3C3NpQ@mail.gmail.com>
On Fri, Jul 06, 2012 at 01:20:21PM -0400, Payal Singh wrote:
> Hi,
>
> I restored the backup on 9.1, made sure the database reached a consistent state
> and checkpointed. Then I performed the upgrade. Upgrade completed successfully
> but on running vacuumdb it gave the exact same error. The contents of log file
> are:
>
>
> 1. 2012-07-06 12:08:08 EDT [] [21723]: [1-1] user=,db=,e=00000: LOG: database
> system was interrupted while in recovery at log time 2012-07-03 03:07:02
> EDT
Any idea why you are seeing the above "interrupted while in recovery"
message?
> 2. 2012-07-06 12:08:08 EDT [] [21723]: [2-1] user=,db=,e=00000: HINT: If this
> has occurred more than once some data might be corrupted and you might need
> to choose an earlier recovery target.
> 3. 2012-07-06 12:08:08 EDT [] [21723]: [3-1] user=,db=,e=00000: LOG: creating
> missing WAL directory "pg_xlog/archive_status"
> 4. 2012-07-06 12:08:08 EDT [] [21723]: [4-1] user=,db=,e=00000: LOG: database
> system was not properly shut down; automatic recovery in progress
The above is also confusing. pg_upgrade uses pg_ctl -w stop/start, so I
am confused, how it could show as recovering.
>
> Also, this time I did not run vacuumdb on old server before performing the
> upgrade.
I think you had better show us exactly what you are doing here --- how
you are setting up these clusters, how you are running pg_upgrade, what
commands you are typing, etc.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, payals1@umbc.edu, tgl@sss.pgh.pa.us, ringerc@ringerc.id.au
Subject: Re: Problem with pg_upgrade
In-Reply-To: <20120706173153.GC6235@momjian.us>
References: <CAK4ounw9CmG0_vUwwtsr2QXXhOJJ8E9g5mw-vuXAo57KSTQFDg@mail.gmail.com> <4FF5BD8A.5010307@ringerc.id.au> <CAK4ounyW7oGprZuVRv8tfVROTimeY49yL4HRcq+Yqnt0P-8PXw@mail.gmail.com> <1316.1341527311@sss.pgh.pa.us> <20120706033700.GB15538@momjian.us> <CAK4ounxaUVnPADZf5f5bABZRZfa99BnayH4n8Ywd-PkY3C3NpQ@mail.gmail.com> <20120706173153.GC6235@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox