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 1kdJDV-0000oR-GS for pgsql-committers@arkaria.postgresql.org; Thu, 12 Nov 2020 20:29:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kdJDT-0002OP-Tr for pgsql-committers@arkaria.postgresql.org; Thu, 12 Nov 2020 20:29:11 +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 1kdJDT-0002OI-N9 for pgsql-committers@lists.postgresql.org; Thu, 12 Nov 2020 20:29:11 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdJDN-0001UO-H3 for pgsql-committers@lists.postgresql.org; Thu, 12 Nov 2020 20:29:10 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 86FA55C00BE; Thu, 12 Nov 2020 15:29:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 12 Nov 2020 15:29:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm1; bh=4cNmrmZfYV7gN/KrG 64771A62ARBa/JivVzBNRmEeNc=; b=W/54WeJIayQot/TpIIkaPVAzsn+ezmaZ8 ThZ3FZRr5g5Ep0QjNeJQhB2QeFYo2WpH+RkqQ29n8yehV62ohBVXXVTQjRkybIQP ZmDyU01/xdlCfS9J9VL7pTDQiNhb1g8vOgIzB9WVcdg/bAt3J4CCdHNLsPVCeaUr HHH9Hxgh2aWKFKI/1+8gVMYNdaqvCvTMYzMZQJbA2VDrFH8CgKXjJJ1PwWuAzwc9 cbKg2wEefLgROBb6cDgeEeC3z79ynb9y2N8fjW3vmE3yoIpCDO1WmJ4r4hXlIp6t 96K4cl/JhtR4nvhgfsG/PfGprZuaVzR2zVzT9F1pXp8Cf1KGozJiw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvfedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtuggjfgesthdtredttdervdenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvefgleevgeeujeeghfegteeghfegheeifeehheelteet ieduieeihffggfehffetnecukfhppeduledtrdelhedrudekrdejleenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghl vhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.18.79]) by mail.messagingengine.com (Postfix) with ESMTPA id ED9FE3068C93; Thu, 12 Nov 2020 15:29:02 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id DCB8D2A14FE; Thu, 12 Nov 2020 17:29:00 -0300 (-03) Date: Thu, 12 Nov 2020 17:29:00 -0300 From: Alvaro Herrera To: Bruce Momjian Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: doc: clarify where to find pg_type_d.h (PG 11+) and pg_type.h Message-ID: <20201112202900.GA28098@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Nov-12, Bruce Momjian wrote: > doc: clarify where to find pg_type_d.h (PG 11+) and pg_type.h > > These files are in compiled directories and install directories. I think this patch is wrong, because in the install tree the files are in the server/ subdir. It should read: The OIDs of the built-in data types are defined in the file include/catalog/pg_type_d.h in the compiled source directory, and in include/server/catalog/pg_type_d.h in the install directory. That said, if the user is doing a VPATH build, then "compiled source directory" is a confusing way to say "the build directory", and I don't think it's an important location anyway, first because it's really a throwaway directory, and second it's not even there in a packaged installation; users just care about the *installed* file, don't they? So I suggest to rip that part out, and leave just: The OIDs of the built-in data types are defined in the file include/server/catalog/pg_type_d.h in the install directory.