Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCr0F-0006Cq-VB for pgsql-docs@arkaria.postgresql.org; Mon, 31 Aug 2020 21:06:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kCr0E-0001nb-Pb for pgsql-docs@arkaria.postgresql.org; Mon, 31 Aug 2020 21:06:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCr0E-0001nU-JZ for pgsql-docs@lists.postgresql.org; Mon, 31 Aug 2020 21:06:10 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCr0C-0007yh-DO for pgsql-docs@lists.postgresql.org; Mon, 31 Aug 2020 21:06:09 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1kCr0B-00005F-38; Mon, 31 Aug 2020 17:06:07 -0400 Date: Mon, 31 Aug 2020 17:06:07 -0400 From: Bruce Momjian To: ajulien@shaktiware.fr, pgsql-docs@lists.postgresql.org Subject: Re: 35.9.2. Base Types in C-Language Functions Message-ID: <20200831210607.GN13613@momjian.us> References: <159845038271.24995.15682121015698255155@wrigleys.postgresql.org> <20200826230904.GE13370@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200826230904.GE13370@momjian.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Aug 26, 2020 at 07:09:04PM -0400, Bruce Momjian wrote: > 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. Patch applied. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee