]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
docs: in mapping SQL to C data types, timestamp isn't a pointer
authorBruce Momjian <bruce@momjian.us>
Mon, 31 Aug 2020 21:05:53 +0000 (17:05 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 31 Aug 2020 21:05:53 +0000 (17:05 -0400)
It is an int64.

Reported-by: ajulien@shaktiware.fr
Discussion: https://postgr.es/m/159845038271.24995.15682121015698255155@wrigleys.postgresql.org

Backpatch-through: 9.5

doc/src/sgml/xfunc.sgml

index 1840c86a9954d50244083a60d09aff81697b25a8..a1f177cd9648d87e8f928c74033ef5afae19c4b9 100644 (file)
@@ -2055,7 +2055,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>