public inbox for [email protected]  
help / color / mirror / Atom feed
From: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: pg_type_d.h location incorrect
Date: Thu, 20 May 2021 05:56:49 +0000
Message-ID: <[email protected]> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/libpq-exec.html
Description:

>The OIDs of the built-in data types are defined in the file
include/server/catalog/pg_type_d.h in the install directory.

The location of "pg_type_d.h" is not correct if a user installs the PG from
src and the install directory path didn't contain "postgres"/"pgsql"
according to Makefile as below.
>pkgincludedir = $(includedir)
>ifeq "$(findstring pgsql, $(pkgincludedir))" ""
>ifeq "$(findstring postgres, $(pkgincludedir))" ""
>override pkgincludedir := $(pkgincludedir)/postgresql

My test results are as below, please take it as your reference.
[install Dir contains postgres/pgsql]/include/server/catalog/pg_type_d.h
[install Dir doesn't contain
postgres/pgsql]/include/postgresql/server/catalog/pg_type_d.h


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: pg_type_d.h location incorrect
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox