Re: Misplaced pg_upgrade_support.so ?

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

Hi Bruce,

On 6/7/10 5:12 PM, Bruce Momjian wrote:
> 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.
>

Sure thing:

%pg_config --pkglibdir
/usr/local/pgsql-beta2/lib/postgresql

Let me know if I can provide any additional information.

--
Glen Barber

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2010-06-07 22:59:24 Re: Misplaced pg_upgrade_support.so ?
Previous Message Greg Stark 2010-06-07 21:33:08 Re: BUG #5492: Query performs slowly and sequence corrupted