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 1q7plu-0007EH-N7 for pgsql-hackers@arkaria.postgresql.org; Sat, 10 Jun 2023 04:00:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q7plt-0002bq-KQ for pgsql-hackers@arkaria.postgresql.org; Sat, 10 Jun 2023 04:00:13 +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 1q7plt-0002bg-6Y for pgsql-hackers@lists.postgresql.org; Sat, 10 Jun 2023 04:00:13 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q7plq-001BzC-7F for pgsql-hackers@postgresql.org; Sat, 10 Jun 2023 04:00:12 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C4AD73200904; Sat, 10 Jun 2023 00:00:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 10 Jun 2023 00:00:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1686369607; x=1686456007; bh=ea JhUZmowwc8CG4TvE2ReuJt3TGdVs1X9gTLsqWNZS4=; b=Q0z4hiIpD6gg21YVMC ve484nVgsE0Pn9BKIo0EltFyKOUXLRHgy0XmIyxjajWVcdV9wt9xS73DFo60Z7Ny MTzGBIzIR/e/qyAs4R3GwKtx7ZyFI7aPl+rjIj58DWdkonGQ1sf7DnpuDJCY7u24 EdQbCyGcL7UlwIyHZV2ZXh/hMNF1fGD47/9bE0+Bd8FEKgxPZ5+goj8NPXw8oTP3 axtu7ULdBITRSOrTfzC+ZusvEvMi+GYqpak/w2uGooCbgQ0uW2syTQfdaa51xa5z NxuszfKED0OCcjiLs/zG1uEUVQetdwspjBQjzLgoSGSTaE5KxqL9qlb+qwQl2sHC REYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1686369607; x=1686456007; bh=eaJhUZmowwc8C G4TvE2ReuJt3TGdVs1X9gTLsqWNZS4=; b=JOCUBpi2G0GTVMLdOgqpTmnI8Ig3e i4gHGr0MnuEtJuiIUCMSSnMYXqmETjGDHZMNjqw1ZUQyILhPtqpPMb7T/IAynhAW seUNMHaDU7wzLs0SARBJRtitRMHXM8gbUklY6Y3AAQrIkzYM55sn/JJI713iBJ+V wfyfIHi6FBt1FCBVoC3MgJenpRnYK8QgyNddEdyPoa9wTiuulHbVrhSKzoeoBaqF xqjht21rop2e0TDZInWubLHtzXuc38fCRCHEQ5+miw/NLKeure3Hx1mkMVxky4ig RuWE1SG3nl574l9rKqwNqrttCDkI/vb1L0j3GSzZ9x1eJ1N5Faw7ZYsaA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtledgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 10 Jun 2023 00:00:06 -0400 (EDT) Date: Fri, 9 Jun 2023 21:00:05 -0700 From: Andres Freund To: samay sharma Cc: Peter Eisentraut , Justin Pryzby , Nazir Bilal Yavuz , John Naylor , pgsql-hackers@postgresql.org Subject: Re: Documentation for building with meson Message-ID: <20230610040005.yorcukfkd2ite7nj@awork3.anarazel.de> References: <20221123063654.GH11463@telsasoft.com> <20221123201620.GK11463@telsasoft.com> <6f9c0595-1de0-ca15-b5fc-c650c3f57016@enterprisedb.com> <20221201172139.ua64fs5m7soyunqk@awork3.anarazel.de> <0517adcd-4fea-f20d-0a74-31f75627138e@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2023-03-28 12:27:26 -0700, samay sharma wrote: > + > + If you want to build the docs, you can type: > + > +ninja docs > + > + To me 'you can type' sounds odd. To me even just "To build the docs:" would sound better. But the make docs do it "your" way, so I'll just go along with it for now. > From c5e637a54c2b83e5bd8c4155784d97e82937eb51 Mon Sep 17 00:00:00 2001 > From: Samay Sharma > Date: Mon, 6 Feb 2023 16:09:42 -0800 > Subject: [PATCH v9 2/5] Add data layout options sub-section in installation > docs > > This commit separates out blocksize, segsize and wal_blocksize > options into a separate Data layout options sub-section in both > the make and meson docs. They were earlier in a miscellaneous > section which included several unrelated options. This change > also helps reduce the repetition of the warnings that changing > these parameters breaks on-disk compatibility. I still like this change, but ISTM that the "Data Layout" section should follow the "PostgreSQL Features" section, rather than follow "Anti Features", "Build Process Details" and "Miscellaneous". I realize some of these are reorganized later on, but even then "Build Process Details" Would anybody mind if I swapped these around? > + I don't quite understand the "-with" added to the ids? > From 11d82aa49efb3d1cbc08f14562a757f115053c8b Mon Sep 17 00:00:00 2001 > From: Samay Sharma > Date: Mon, 13 Feb 2023 16:23:52 -0800 > Subject: [PATCH v9 3/5] Remove Anti-Features section from Installation from > source docs > > Currently, several meson setup options are listed in anti-features. > However, they are similar to most other options in the postgres > features list as they are 'auto' features themselves. Also, other > options are likely better suited to the developer options section. > This commit, therefore, moves the options listed in the anti-features > section into other sections and removes that section. > For consistency, this reorganization has been done on the make section > of the docs as well. > --- > doc/src/sgml/installation.sgml | 140 ++++++++++++++------------------- > 1 file changed, 57 insertions(+), 83 deletions(-) > > diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml > index 7e65cdd72e..d7ab0c205e 100644 > --- a/doc/src/sgml/installation.sgml > +++ b/doc/src/sgml/installation.sgml > @@ -1214,23 +1214,6 @@ build-postgresql: > > > > - > - > - > - > - > - Anti-Features > - > - > - The options described in this section allow disabling > - certain PostgreSQL features that are built > - by default, but which might need to be turned off if the required > - software or system features are not available. Using these options is > - not recommended unless really necessary. > - > - > - > - > > > I don't think this is quite right. The section above the list says "The options described in this section enable building of various PostgreSQL features that are not built by default. Most of these are non-default only because they require additional software, as described in Section 17.1." So just merging --without-icu, --without-readline, --without-zlib, --disable-thread-safety, in with the rest doesn't quite seem right. I suspect that the easiest way for that is to just move --disable-atomics, --disable-spinlocks to the developer section and then to leave the anti-features section around for autoconf. Any better idea? Greetings, Andres Freund