From: Bruce Momjian <bruce@momjian.us>
To: ajulien@shaktiware.fr
To: pgsql-docs@lists.postgresql.org
Subject: Re: 35.9.2. Base Types in C-Language Functions
Date: Wed, 26 Aug 2020 19:09:04 -0400
Message-ID: <20200826230904.GE13370@momjian.us> (raw)
In-Reply-To: <159845038271.24995.15682121015698255155@wrigleys.postgresql.org>
References: <159845038271.24995.15682121015698255155@wrigleys.postgresql.org>
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 <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
Attachments:timestamp.diff (text/x-diff, 493B) downloaddiff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgmlindex 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 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: pgsql-docs@postgresql.org
Cc: bruce@momjian.us, ajulien@shaktiware.fr, pgsql-docs@lists.postgresql.org
Subject: Re: 35.9.2. Base Types in C-Language Functions
In-Reply-To: <20200826230904.GE13370@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox