On Tue, Nov 10, 2020 at 06:15:29PM -0500, Tom Lane wrote: > Bruce Momjian <br...@momjian.us> writes: > > On Fri, Oct 30, 2020 at 11:09:58AM -0400, Tom Lane wrote: > >> Thinking about it from the perspective of someone dealing with an > >> installation tree not a source tree, maybe the reference should > >> be to "server/catalog/pg_type_d.h". That might help disabuse > >> anyone who's expecting to find it at that path in the git tree. > > > I am confused what the "server/" prefix means in a path name. > > That is the path underneath the installation "include" directory > at which that file will be found.
Yep, it's there. I thought I checked for an include/catalog install directory, but obviously not well enough. > > We currently say: > > > The <acronym>OID</acronym>s of the built-in data types are defined in > > the file <filename>src/include/catalog/pg_type_d.h</filename> in the > > source tree. > > Yeah, so also s/source tree/install tree/. OK, here is a patch that mentions both. -- Bruce Momjian <br...@momjian.us> https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 9ce32fb39b..73c6a6ea4d 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -3666,8 +3666,8 @@ Oid PQftype(const PGresult *res, You can query the system table <literal>pg_type</literal> to obtain the names and properties of the various data types. The <acronym>OID</acronym>s of the built-in data types are defined - in the file <filename>src/include/catalog/pg_type_d.h</filename> - in the source tree. + in the file <filename>include/catalog/pg_type_d.h</filename> + in the compiled source directory and install directory. </para> </listitem> </varlistentry>