Re: Misplaced pg_upgrade_support.so ?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Glen Barber <glen(dot)j(dot)barber(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Misplaced pg_upgrade_support.so ?
Date: 2010-06-07 21:12:28
Message-ID: 201006072112.o57LCSZ21379@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Glen Barber wrote:
> Hi,
>
> Maybe this is better asked on -general instead of -testers.
>
> 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?

Odd. I am confused where that "/postgresql/" is coming from. Can I see
your output of:

pg_config --pkglibdir

Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ None of us is going to be here forever. +

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2010-06-07 21:19:11 Re: Does psql -f quit insertion after an error in a statement has been detected?
Previous Message Wang, Mary Y 2010-06-07 21:10:33 Re: Does psql -f quit insertion after an error in a statement has been detected?