Igor Polishchuk wrote:
There are several ways to obtain the source tree. Occasional
developers can just get the most recent source tree snapshot from
If I'm using a snapshot, I need to get a new one every day, is it
It might be nice to add a link to a document describing for newbies how
to get the source from git.
The two documents you are looking for are
They may be more complicated than what you want for those new to the
process, but all of the basic details are there too.
If you really want to streamline the whole build environment process,
I've built a tool just for that purpose; here's two intros and the code:
This is what I use to do all my patch review, and it takes care of most
of the git repo interaction, directory tree setup, and compile options
stuff for you in its default configuration. You really want to be
building patches for review in a private directory tree and then
putting that private build into the front of your PATH while testing.
It's really easy to end up testing a mix of the system PostgreSQL and
the one you just built otherwise. peg takes care of all that for you.
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
[address removed] www.2ndQuadrant.us