Re: [GENERAL] 64 and 32 bit libpq - Mailing list pgsql-general

From Steve Atkins
Subject Re: [GENERAL] 64 and 32 bit libpq
Date
Msg-id 30E1B36B-8F78-49BD-8395-8451C9FCDBBD@blighty.com
Whole thread Raw
In response to [GENERAL] 64 and 32 bit libpq  (Jerry LeVan <jerry.levan@gmail.com>)
List pgsql-general
> On Feb 12, 2017, at 5:03 PM, Jerry LeVan <jerry.levan@gmail.com> wrote:
>
> Hello, I am trying to upgrade my postgresql ‘stuff’ to 64 bits from 32 bits.
>
> I am running MaxOS Sierra.
>
> I have built the 64 bit version of the server and have loaded
> my database into the new server ( 9.6.2 ). Everything seems to be working.
>
> I have some legacy apps that are 32 bit and talk to the server
> via libpq.dylib. They no longer work with a complaint about
> not finding a libpq with the right architecture.
>
> Can I go back and do a 32 bit rebuild of everything and then
> take the 32 bit libpq and the 64 bit libpq and use lipo to
> glue them together and create a ‘fat’ libpq and replace the
> installed libpq?
>
> Is this a safe thing to do?

I've done it in the past (http://labs.wordtothewise.com/postgresql-osx/) and it
seemed to work fine.

Cheers,
  Steve

pgsql-general by date:

Previous
From: Jerry LeVan
Date:
Subject: [GENERAL] 64 and 32 bit libpq
Next
From: Frank van Vugt
Date:
Subject: Re: [GENERAL] intentional or oversight? pg_dump -c does not restore default priviliges on schema public