Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f2IfS-0006fF-GR for pgsql-committers@arkaria.postgresql.org; Sat, 31 Mar 2018 15:43:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f2IfQ-0003UM-OA for pgsql-committers@arkaria.postgresql.org; Sat, 31 Mar 2018 15:43:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f2IfQ-0003U5-G5 for pgsql-committers@lists.postgresql.org; Sat, 31 Mar 2018 15:43:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f2IfO-0008GH-5M for pgsql-committers@lists.postgresql.org; Sat, 31 Mar 2018 15:43:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w2VFhbpu031151; Sat, 31 Mar 2018 11:43:37 -0400 From: Tom Lane To: Peter Eisentraut cc: Alvaro Herrera , Andres Freund , Bruce Momjian , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add documentation for the JIT feature. In-reply-to: <9b31f912-fb14-6218-5211-5dde627b9b17@2ndquadrant.com> References: <20180329184351.q7ur2i77yx7blphb@alvherre.pgsql> <9b31f912-fb14-6218-5211-5dde627b9b17@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Sat, 31 Mar 2018 11:32:01 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31149.1522511017.1@sss.pgh.pa.us> Date: Sat, 31 Mar 2018 11:43:37 -0400 Message-ID: <31150.1522511017@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 3/29/18 14:43, Alvaro Herrera wrote: >>> Hm, what's wrong just doing it in the normal build? It's a desired build >>> artifact, so I really don't see any argument for not building it by >>> default? Don't quite see what the advantage of doing it during make >>> check would be? >> I meant running something that would check that the file compiles, >> without actually producing the output. For the regular docs, there's a >> couple of orders of magnitude of difference in time to do the check vs. >> the actual build. > Or we do both. I'm OK with adding INSTALL to the default build target in doc/src/sgml; the incremental cost isn't large and we now realize there'd be useful error detection. I'm *not* OK with expanding the scope of "make check" to include building the documentation. It's never had anything to do with docs before and I see no reason to start now. Personally, when I'm working on a patch, the doc updates if any are a completely separate matter. I don't want to waste cycles on testing docs when I'm trying to test code, any more than I would like the reverse (ie forcing a docs build to build code too). regards, tom lane