Re: Need help on compiling postgres source code from cloned repo

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: rajan <vgmonnet(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Need help on compiling postgres source code from cloned repo
Date: 2017-07-02 14:05:01
Message-ID: 051ede43-01d8-571d-19d7-76c759776cfc@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/01/2017 11:31 PM, rajan wrote:
> Hi,
>
> I have a cloned repository of postgres and I want to compile the source for
> *REL_10_BETA1* alone.

Or just go here and grab the tarball:

https://www.postgresql.org/ftp/source/v10beta1/

>
> Following are the steps I am planning to do,
> -> git checkout -b rel10beta1 REL_10_BETA1 (and verifying current branch is
> newly created one)

Is there a reason you want to start a new branch and not just checkout
the existing branch?

> -> Execute ./configure --prefix=/opt/PostgreSQL/10beta --with-pgport=6432
> --enable-integer-datetimes --enable-thread-safety --enable-debug
> -> And then make and make install

--enable-integer-datetimes --enable-thread-safety are the default so
they do not need to be specified. In fact in 10 you can't create float
datetimes:

https://www.postgresql.org/docs/10/static/release-10.html
"

Remove support for floating-point datetimes/timestamps (Tom Lane)

This removes configure's --disable-integer-datetimes option.
Floating-point datetimes/timestamps have not been the default since
Postgres 8.3 and have few advantages.
"

>
> Will the above steps work? Please assist.
>
>
>
> -----
> --
> Thanks,
> Rajan.
> --
> View this message in context: http://www.postgresql-archive.org/Need-help-on-compiling-postgres-source-code-from-cloned-repo-tp5969667.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-07-02 16:06:49 Re: Text search dictionary vs. the C locale
Previous Message twoflower 2017-07-02 13:11:07 Re: Text search dictionary vs. the C locale