public inbox for [email protected]  
help / color / mirror / Atom feed
From: [email protected] <[email protected]>
To: [email protected] <[email protected]>
Subject: RE: pg_type_d.h location incorrect
Date: Wed, 26 May 2021 02:39:50 +0000
Message-ID: <OS0PR01MB6113637F7DBED4565902A460FB249@OS0PR01MB6113.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Hi

Attached a patch to fix the incorrect location description of pg_type_d.h posted by myself at [1].

[1] https://www.postgresql.org/message-id/[email protected]

Regards,
Tang


Attachments:

  [application/octet-stream] 0001-dir-fix-for-pg_type_d.h.patch (877B, 2-0001-dir-fix-for-pg_type_d.h.patch)
  download | inline diff:
From 6f7f6a69acff4229d544f6a26fe0ded59ddd5fc7 Mon Sep 17 00:00:00 2001
From: tanghy <[email protected]>
Date: Wed, 26 May 2021 11:38:23 +0900
Subject: [PATCH] dir fix for pg_type_d.h


diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 875950b83c..5938206617 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -3829,7 +3829,7 @@ 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>include/server/catalog/pg_type_d.h</filename>
+       in the file <filename>`pg_config --pkgincludedir`/server/catalog/pg_type_d.h</filename>
        in the install directory.
       </para>
      </listitem>
-- 
2.30.0.windows.2



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]
  Subject: RE: pg_type_d.h location incorrect
  In-Reply-To: <OS0PR01MB6113637F7DBED4565902A460FB249@OS0PR01MB6113.jpnprd01.prod.outlook.com>

* 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