On Wed, Oct 24, 2018 at 7:22 PM Pratik Parikh <pratik.p.parikh@xxxxxxxxx> 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
www.seiler.us