Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6Gtq-0001Jt-NQ for pgsql-docs@arkaria.postgresql.org; Wed, 21 Jul 2021 18:24:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m6Gtp-0000iC-Cu for pgsql-docs@arkaria.postgresql.org; Wed, 21 Jul 2021 18:24:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6Gtp-0000i4-6e for pgsql-docs@lists.postgresql.org; Wed, 21 Jul 2021 18:24:53 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6Gtl-0001Fv-0b for pgsql-docs@lists.postgresql.org; Wed, 21 Jul 2021 18:24:52 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 5615E5C01EA; Wed, 21 Jul 2021 14:24:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 21 Jul 2021 14:24:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=U0tjSPFVhN94OX1i46t5armAugUBE6q7//NKAndsZiQ=; b=pAD2vj6J E7HuolansvGLutpsql6drzChKlcekhKkezOW8W6W5DuM++nulXBrIMLhimKtcPTC qfQ8WsoSs2x8LaPn6CNfGQW9t434XpHfpM8ShcGgeb/ECp8cJgSUVVQ6aff3RFW7 NcOueIoTQjBZCzC5r+66xuBB/JRDk07GKTymaq0y34P/1cHK6MMnuIFgBzmEVAVK HysRhkR324Q+13O5im9dLzLXb4DJrj7gXiUFSWM3/AcffJATWpP/WEtfu5VVS1Zm eL2KV2QDUnLpRNXxBSa7AXYsBtOe2metP8n28IWKroFgwajeQvVHexKvCuGPFA9P yNdch0UaABmyqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeggddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehmkeerredttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeetvdfhteeuueekfefhfedugeffhfehhfdvleffleetkeeg geefhffggeekjedtudenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Jul 2021 14:24:46 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A545F2A09C7; Wed, 21 Jul 2021 14:24:42 -0400 (-04) Date: Wed, 21 Jul 2021 14:24:42 -0400 From: Alvaro Herrera To: Tom Lane Cc: Peter Eisentraut , "Jonathan S. Katz" , "Daniel Westermann (DWE)" , "pgsql-docs@lists.postgresql.org" Subject: Re: Link t the souce code Message-ID: <202107211824.xki5acvkbiv2@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qcu3u6dvqqdfefp7" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <713760.1626891263@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --qcu3u6dvqqdfefp7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2021-Jul-21, Tom Lane wrote: > Hm ... actually, now that I read the committed patch, I realize that > it's effectively recommending that people build their installations > from the latest commit on master. That might be what aspiring PG > hackers want to do, but it's quite unlikely that Joe DBA wants to. > I think if we're going to recommend pulling the git repo as the > way to get the sources, we at least ought to recommend a > "git checkout REL_n_STABLE" step, and point out that this gives > you branch tip not a released-and-QAed version. On the whole though, > I'm having qualms about recommending this in this particular spot, > rather than back in Appendix I. Seems like the wrong audience is > going to be reading this chapter. Well, we can remove that first paragraph from there and just refer the reader to the appendix ... something like this, perhaps. The appendix already has instructions on cloning the repo. It doesn't say anything about branches though, but I'm not sure we want our docs to become a tutorial on Git. We already link to git-scm.com though that's not great; it doesn't explain our branch structure for example. We could do better. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ --qcu3u6dvqqdfefp7 Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="nogit.patch" diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index fddd7d3905..16856f7736 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -354,24 +354,8 @@ su - postgres Getting the Source - The version control repository for PostgreSQL - can be obtained from - ; - this is the recommended way to obtain the - PostgreSQL source code. - You can obtain a clone of the repository by running - -git clone https://git.postgresql.org/git/postgresql.git - - This will create a directory postgresql under the current - directory with the PostgreSQL sources. - Change into that directory for the rest of the installation procedure. - See for further information. - - - - Alternatively, source code for the released versions can be obtained - from the download section of our website: + The PostgreSQL source code for released versions + can be obtained from the download section of our website: . Download then postgresql-version.tar.gz @@ -385,6 +369,10 @@ su - postgres the current directory with the PostgreSQL sources. Change into that directory for the rest of the installation procedure. + + + Alternatively, you can use the Git version control system; see + for more information. --qcu3u6dvqqdfefp7--