pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Misplaced pg_upgrade_support.so ?
4+ messages / 2 participants
[nested] [flat]

* Misplaced pg_upgrade_support.so ?
@ 2010-06-07 15:26 Glen Barber <glen.j.barber@gmail.com>
  2010-06-07 18:43 ` Re: Misplaced pg_upgrade_support.so ? Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Glen Barber @ 2010-06-07 15:26 UTC (permalink / raw)
  To: pgsql-testers

Hi,

First off, thank you for bringing this into contrib.

I built beta2 this morning to give pg_upgrade a test run, and everything 
worked out great.  The only thing I am not sure of is the expected 
location of pg_upgrade_support.so.  It is a default build with the 
exception of "--prefix=/usr/local/pgsql-beta2"; pg_upgrade_support.so 
ended up in /usr/local/pgsql-beta2/lib.

Here is what I saw when running pg_upgrade initially:

%pg_upgrade -d /var/db/pgsql/data \
  -D /var/db/pgsql/data2 \
  -b /usr/local/pgsql-beta1/bin \
  -B /usr/local/pgsql-beta2/bin
Performing Consistency Checks
-----------------------------
Checking old data directory (/var/db/pgsql/data)            ok
Checking new data directory (/var/db/pgsql/data2)           ok


pg_upgrade_support.so must be created and installed in \
/usr/local/pgsql-beta2/lib/postgresql/pg_upgrade_support.so

Is this module ending up in the wrong location on install, or is 
pg_upgrade looking in the wrong place?

Thanks and regards,

-- 
Glen Barber




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Misplaced pg_upgrade_support.so ?
  2010-06-07 15:26 Misplaced pg_upgrade_support.so ? Glen Barber <glen.j.barber@gmail.com>
@ 2010-06-07 18:43 ` Josh Berkus <josh@agliodbs.com>
  2010-06-07 18:48   ` Re: Misplaced pg_upgrade_support.so ? Glen Barber <glen.j.barber@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Josh Berkus @ 2010-06-07 18:43 UTC (permalink / raw)
  To: Glen Barber <glen.j.barber@gmail.com>; +Cc: pgsql-testers


> Is this module ending up in the wrong location on install, or is
> pg_upgrade looking in the wrong place?

Added to Open Items page for 9.0.  Bruce says he should get to checking
it sometime tonight or tommorrow.  Thanks for bug report.

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Misplaced pg_upgrade_support.so ?
  2010-06-07 15:26 Misplaced pg_upgrade_support.so ? Glen Barber <glen.j.barber@gmail.com>
  2010-06-07 18:43 ` Re: Misplaced pg_upgrade_support.so ? Josh Berkus <josh@agliodbs.com>
@ 2010-06-07 18:48   ` Glen Barber <glen.j.barber@gmail.com>
  2010-06-09 12:39     ` Re: Misplaced pg_upgrade_support.so ? Glen Barber <glen.j.barber@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Glen Barber @ 2010-06-07 18:48 UTC (permalink / raw)
  To: Josh Berkus <josh@agliodbs.com>; +Cc: pgsql-testers

On 6/7/10 2:43 PM, Josh Berkus wrote:
>
>> Is this module ending up in the wrong location on install, or is
>> pg_upgrade looking in the wrong place?
>
> Added to Open Items page for 9.0.  Bruce says he should get to checking
> it sometime tonight or tommorrow.  Thanks for bug report.
>

Excellent, thanks!

-- 
Glen Barber



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Misplaced pg_upgrade_support.so ?
  2010-06-07 15:26 Misplaced pg_upgrade_support.so ? Glen Barber <glen.j.barber@gmail.com>
  2010-06-07 18:43 ` Re: Misplaced pg_upgrade_support.so ? Josh Berkus <josh@agliodbs.com>
  2010-06-07 18:48   ` Re: Misplaced pg_upgrade_support.so ? Glen Barber <glen.j.barber@gmail.com>
@ 2010-06-09 12:39     ` Glen Barber <glen.j.barber@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Glen Barber @ 2010-06-09 12:39 UTC (permalink / raw)
  To: pgsql-testers; +Cc: Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>

On 6/7/10 2:48 PM, Glen Barber wrote:
> On 6/7/10 2:43 PM, Josh Berkus wrote:
>>
>>> Is this module ending up in the wrong location on install, or is
>>> pg_upgrade looking in the wrong place?
>>
>> Added to Open Items page for 9.0. Bruce says he should get to checking
>> it sometime tonight or tommorrow. Thanks for bug report.
>>
>
> Excellent, thanks!
>

Just to follow up, Bruce did take a look at this on -general.  In short, 
it turns out to be operator error - I never cleaned the source 
directories, which caused the extra '/postgresql/' directory in the 
hierarchy.

The relevant thread is here:

http://archives.postgresql.org/pgsql-general/2010-06/msg00321.php

Thanks to Bruce and Takahiro Itagaki for taking a look.

Regards,

-- 
Glen Barber



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2010-06-09 12:39 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-06-07 15:26 Misplaced pg_upgrade_support.so ? Glen Barber <glen.j.barber@gmail.com>
2010-06-07 18:43 ` Josh Berkus <josh@agliodbs.com>
2010-06-07 18:48   ` Glen Barber <glen.j.barber@gmail.com>
2010-06-09 12:39     ` Glen Barber <glen.j.barber@gmail.com>

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