From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Cc: | tanghy(dot)fnst(at)fujitsu(dot)com |
Subject: | pg_type_d.h location incorrect |
Date: | 2021-05-20 05:56:49 |
Message-ID: | 162149020918.26174.7150424047314144297@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
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
From | Date | Subject | |
---|---|---|---|
Next Message | PG Doc comments form | 2021-05-20 06:11:40 | pg_monitor role description |
Previous Message | Michael Paquier | 2021-05-20 02:19:26 | Re: Error building for 64-bit Windows (10) |