Re: [GENERAL] Need help on compiling postgres source code from clonedrepo - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] Need help on compiling postgres source code from clonedrepo
Date
Msg-id 051ede43-01d8-571d-19d7-76c759776cfc@aklaver.com
Whole thread Raw
In response to [GENERAL] Need help on compiling postgres source code from cloned repo  (rajan <vgmonnet@gmail.com>)
Responses Re: [GENERAL] Need help on compiling postgres source code from cloned repo  (rajan <vgmonnet@gmail.com>)
List 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.klaver@aklaver.com


pgsql-general by date:

Previous
From: twoflower
Date:
Subject: Re: [GENERAL] Text search dictionary vs. the C locale
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Text search dictionary vs. the C locale