pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedCompile and build portable postgresql for mac
5+ messages / 4 participants
[nested] [flat]
* Compile and build portable postgresql for mac
@ 2018-10-25 00:21 Pratik Parikh <pratik.p.parikh@gmail.com>
0 siblings, 2 replies; 5+ messages in thread
From: Pratik Parikh @ 2018-10-25 00:21 UTC (permalink / raw)
To: pgsql-general
Hi all,
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.
Regards,
Pratik
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Compile and build portable postgresql for mac
@ 2018-10-25 13:05 Олег Самойлов <splarv@ya.ru>
parent: Pratik Parikh <pratik.p.parikh@gmail.com>
1 sibling, 0 replies; 5+ messages in thread
From: Олег Самойлов @ 2018-10-25 13:05 UTC (permalink / raw)
To: Pratik Parikh <pratik.p.parikh@gmail.com>; +Cc: pgsql-general
> 25 окт. 2018 г., в 3:21, Pratik Parikh <pratik.p.parikh@gmail.com> написал(а):
>
> Hi all,
>
> 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.
>
> Regards,
> Pratik
You can try
https://postgresapp.com <https://postgresapp.com/;
I don’t have experience much about this app. Looked like working, but psql demonstrate bugs in the text terminal ( iTerm and official Terminal).
Also you can try postgres from brew. It will compiled on your mac in this case. =
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Compile and build portable postgresql for mac
@ 2018-10-25 13:31 Don Seiler <don@seiler.us>
parent: Pratik Parikh <pratik.p.parikh@gmail.com>
1 sibling, 1 reply; 5+ messages in thread
From: Don Seiler @ 2018-10-25 13:31 UTC (permalink / raw)
To: pratik.p.parikh@gmail.com; +Cc: pgsql-general
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Compile and build portable postgresql for mac
@ 2018-10-25 14:03 Pratik Parikh <pratik.p.parikh@gmail.com>
parent: Don Seiler <don@seiler.us>
0 siblings, 0 replies; 5+ messages in thread
From: Pratik Parikh @ 2018-10-25 14:03 UTC (permalink / raw)
To: Don Seiler <don@seiler.us>; +Cc: 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
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Compile and build portable postgresql for mac
@ 2018-10-25 14:39 Ravi Krishna <srkrishna1@aol.com>
0 siblings, 0 replies; 5+ messages in thread
From: Ravi Krishna @ 2018-10-25 14:39 UTC (permalink / raw)
To: pratik.p.parikh@gmail.com; don@seiler.us; +Cc: pgsql-general
Your best bet in mac is to use docker.
On Thursday, October 25, 2018 Pratik Parikh <pratik.p.parikh@gmail.com> wrote:
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
--
Sent from tablet.
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2018-10-25 14:39 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25 00:21 Compile and build portable postgresql for mac Pratik Parikh <pratik.p.parikh@gmail.com>
2018-10-25 13:05 ` Олег Самойлов <splarv@ya.ru>
2018-10-25 13:31 ` Don Seiler <don@seiler.us>
2018-10-25 14:03 ` Pratik Parikh <pratik.p.parikh@gmail.com>
2018-10-25 14:39 Re: Compile and build portable postgresql for mac Ravi Krishna <srkrishna1@aol.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox