Re: 64 and 32 bit libpq

From: Steve Atkins <steve(at)blighty(dot)com>
To: "pgsql-general(at)postgresql(dot)org general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: 64 and 32 bit libpq
Date: 2017-02-13 03:42:56
Message-ID: 30E1B36B-8F78-49BD-8395-8451C9FCDBBD@blighty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> On Feb 12, 2017, at 5:03 PM, Jerry LeVan <jerry(dot)levan(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Frank van Vugt 2017-02-13 08:09:06 Re: intentional or oversight? pg_dump -c does not restore default priviliges on schema public
Previous Message Jerry LeVan 2017-02-13 01:03:09 64 and 32 bit libpq