pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tory M Blue <tmblue@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: pg_upgrade
Date: Thu, 8 Dec 2011 15:14:52 -0500 (EST)
Message-ID: <201112082014.pB8KEq616142@momjian.us> (raw)
In-Reply-To: <CAEaSS0ZmjROYv_qRzD8z4F65k1OX01oBFBM9OSW-iLPbKTQdHg@mail.gmail.com>

Tory M Blue wrote:
> >From my last report I had success but it was successful due to lots of
> manual steps. I figured it may be safer to just create a new rpm,
> installing to pgsql9 specific directories and a new data directory.
> 
> This allows pg_upgrade to complete successfully (so it says). However
> my new data directory is empty and the old data directory now has what
> appears to be 8.4 data and the 9.1 data.
> 
> /data is olddatadir original data dir
> 
> [root@devqdb03 queue]# ll /data/queue
> total 12
> drwx------ 2 postgres dba 4096 2011-12-07 09:44 16384
> drwx------ 3 postgres dba 4096 2011-12-07 11:34 PG_9.1_201105231
> -rw------- 1 postgres dba    4 2011-12-07 09:44 PG_VERSION

That sure looks like a tablespace to me, not a data directory.

> 
> /data1 is the new 9.1 installed location.
> [root@devqdb03 queue]# ll /data1/queue/
> total 0
> 
> Do I have to manually move the new PG_9.1..... data to /data1 or. I'm
> just confused at what I'm looking at here.
> 
> If I don't move anything and start up the DB , I get this
> 
> psql (8.4.4, server 9.1.1)
> WARNING: psql version 8.4, server version 9.1.
>          Some psql features might not work.
> Type "help" for help.
> 
> Sorry my upgrade process has been an ugly mess :)

You are using an 8.4.4 psql to connect to a 9.1.1 server.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (19+ messages)

Message-ID: <201112082014.pB8KEq616142@momjian.us>
Permalink:  ../201112082014.pB8KEq616142@momjian.us/
Also on:    postgresql.org/message-id/201112082014.pB8KEq616142@momjian.us

 · 

reply

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-performance@postgresql.org
  Cc: bruce@momjian.us, tmblue@gmail.com
  Subject: Re: pg_upgrade
  In-Reply-To: <201112082014.pB8KEq616142@momjian.us>
  References: <CAEaSS0ZmjROYv_qRzD8z4F65k1OX01oBFBM9OSW-iLPbKTQdHg@mail.gmail.com> <201112082014.pB8KEq616142@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