Lists: | pgsql-general |
---|
From: | Glen Barber <glen(dot)j(dot)barber(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Misplaced pg_upgrade_support.so ? |
Date: | 2010-06-07 17:14:28 |
Message-ID: | 4C0D28F4.2090807@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
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?
Thanks and regards,
--
Glen Barber
From: | Glen Barber <glen(dot)j(dot)barber(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Misplaced pg_upgrade_support.so ? |
Date: | 2010-06-07 18:47:31 |
Message-ID: | 4C0D3EC3.7020506@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
On 6/7/10 1:14 PM, Glen Barber wrote:
[snip]
> Is this module ending up in the wrong location on install, or is
> pg_upgrade looking in the wrong place?
>
I've received a reply on -testers about this, in case anyone is using
pg_upgrade with testing 9.0.
http://archives.postgresql.org/pgsql-testers/2010-06/msg00000.php
Regards,
--
Glen Barber
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 |
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. +
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 |
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
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 22:59:24 |
Message-ID: | 201006072259.o57MxOJ24741@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Glen Barber wrote:
> >> 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
> >>
> >
> > 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.
That is interesting. I ran configure --prefix=/usr/local/pgsql-beta2
using CVS HEAD (which should match 9.0 beta2), and my output is
different:
$ ./pg_config --pkglibdir
/usr/var/local/pgsql-beta2/lib
Notice the "/postgresql" is missing. This is before running pg_upgrade.
I am attaching my entire pg_config output. Can I see yours? Thanks.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ None of us is going to be here forever. +
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 1.4 KB |
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 23:48:22 |
Message-ID: | 4C0D8546.6010809@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
On 6/7/10 6:59 PM, Bruce Momjian wrote:
> Glen Barber wrote:
>>>> 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
>>>>
>>>
>>> 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.
>
> That is interesting. I ran configure --prefix=/usr/local/pgsql-beta2
> using CVS HEAD (which should match 9.0 beta2), and my output is
> different:
>
> $ ./pg_config --pkglibdir
> /usr/var/local/pgsql-beta2/lib
>
> Notice the "/postgresql" is missing. This is before running pg_upgrade.
>
> I am attaching my entire pg_config output. Can I see yours? Thanks.
>
Interestingly, I apparently would have had this issue with beta1:
%pwd
/usr/local/pgsql-beta1/bin
%./pg_config --pkglibdir
/usr/local/pgsql-beta1/lib/postgresql
%cd ../../pgsql-beta2/bin/
%./pg_config --pkglibdir
/usr/local/pgsql-beta2/lib/postgresql
I've attached pg_config output for both. To rule out something off with
my environment, I'm currently setting up a test environment on a
different machine, where I'll check out HEAD as well as beta1 and beta2.
Unless, of course, I'm missing something very obvious in the attached
output.
Regards,
--
Glen Barber
Attachment | Content-Type | Size |
---|---|---|
beta1_pgconfig.txt | text/plain | 1010 bytes |
beta2_pgconfig.txt | text/plain | 1010 bytes |
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-08 00:03:11 |
Message-ID: | 4C0D88BF.5080505@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
On 6/7/10 7:48 PM, Glen Barber wrote:
[snip]
>>
>
> Interestingly, I apparently would have had this issue with beta1:
>
> %pwd
> /usr/local/pgsql-beta1/bin
> %./pg_config --pkglibdir
> /usr/local/pgsql-beta1/lib/postgresql
> %cd ../../pgsql-beta2/bin/
> %./pg_config --pkglibdir
> /usr/local/pgsql-beta2/lib/postgresql
>
> I've attached pg_config output for both. To rule out something off with
> my environment, I'm currently setting up a test environment on a
> different machine, where I'll check out HEAD as well as beta1 and beta2.
> Unless, of course, I'm missing something very obvious in the attached
> output.
>
After just realizing CONFIGURE isn't showing what I would expect to see,
I rebuilt after removing the original source directories. It looks like
I didn't 'gmake clean' before reconfiguring for the new target directories.
Sorry for the noise. Thank you for taking the time to look.
Regards,
--
Glen Barber
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-08 00:08:25 |
Message-ID: | 201006080008.o5808PS13846@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Glen Barber wrote:
> On 6/7/10 7:48 PM, Glen Barber wrote:
> [snip]
> >>
> >
> > Interestingly, I apparently would have had this issue with beta1:
> >
> > %pwd
> > /usr/local/pgsql-beta1/bin
> > %./pg_config --pkglibdir
> > /usr/local/pgsql-beta1/lib/postgresql
> > %cd ../../pgsql-beta2/bin/
> > %./pg_config --pkglibdir
> > /usr/local/pgsql-beta2/lib/postgresql
> >
> > I've attached pg_config output for both. To rule out something off with
> > my environment, I'm currently setting up a test environment on a
> > different machine, where I'll check out HEAD as well as beta1 and beta2.
> > Unless, of course, I'm missing something very obvious in the attached
> > output.
> >
>
> After just realizing CONFIGURE isn't showing what I would expect to see,
> I rebuilt after removing the original source directories. It looks like
> I didn't 'gmake clean' before reconfiguring for the new target directories.
>
> Sorry for the noise. Thank you for taking the time to look.
No problem. Glad we confirmed the cause.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ None of us is going to be here forever. +