On Wed, Aug 26, 2020 at 01:59:42PM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/12/xfunc-c.html
> Description:
> 
> In "Table 35-1. Equivalent C Types for Built-in SQL Types", when SQL type is
> "timestamp", the C type is reported to be "Timestamp * ", whereas it is
> actually "Timestamp". I experienced it in version 9.3 but I guess it is also
> the case in current version.

Ah, yes, you are right --- Timestamp is an int64.  I will fix that with
the attatched patch.

-- 
  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/xfunc.sgml b/doc/src/sgml/xfunc.sgml
index 6de464c654..11addb3e27 100644
--- a/doc/src/sgml/xfunc.sgml
+++ b/doc/src/sgml/xfunc.sgml
@@ -2223,7 +2223,7 @@ memcpy(destination->data, buffer, 40);
         </row>
         <row>
          <entry><type>timestamp</type></entry>
-         <entry><type>Timestamp*</type></entry>
+         <entry><type>Timestamp</type></entry>
          <entry><filename>datatype/timestamp.h</filename></entry>
         </row>
         <row>

Reply via email to