Re: Compile and build portable postgresql for mac - Mailing list pgsql-general

From Pratik Parikh
Subject Re: Compile and build portable postgresql for mac
Date
Msg-id CA+BhGGsxdR=CKzch=WFMtQGp=1e-B1ofMba9ZBdYOpt3oSkUBA@mail.gmail.com
Whole thread Raw
In response to Re: Compile and build portable postgresql for mac  (Don Seiler <don@seiler.us>)
List pgsql-general
Thanks, I'll check them out.  But what I am trying to produce is a zip distribution fo Mac is x similar to the one available on postgresql download site. Homebrew works but it ties the libpg to prefix if the path where libs are generated. I am trying to do some unit testing across more then one machine on an ongoing basis.

Hope that helps clear uo what I mean by portable.

On Thu, Oct 25, 2018, 9:31 AM Don Seiler <don@seiler.us> wrote:
On Wed, Oct 24, 2018 at 7:22 PM Pratik Parikh <pratik.p.parikh@gmail.com> wrote:
     How to compile and build portable postgresql for mac.  Can someone point me how the builds are done for general distribution.  A script would be appreciated if anyone has it.  

I'm not sure what you mean by "portable"? I'm going to answer assuming you just want to run postgres on your own Mac.

There are couple options. Peter Eisentraut has a great collection of Homebrew scripts that you can plug into: https://github.com/petere/homebrew-postgresql

I've recently switched to pgenv, which provides a clean CLI for building and using all the various supported versions: https://github.com/theory/pgenv 

Don.
--
Don Seiler
www.seiler.us

pgsql-general by date:

Previous
From: Ravi Krishna
Date:
Subject: Re: GIN Index for low cardinality
Next
From: Ravi Krishna
Date:
Subject: Re: Compile and build portable postgresql for mac