docs: in mapping SQL to C data types, timestamp isn't a pointer
authorBruce Momjian <[email protected]>
Mon, 31 Aug 2020 21:05:53 +0000 (17:05 -0400)
committerBruce Momjian <[email protected]>
Mon, 31 Aug 2020 21:05:53 +0000 (17:05 -0400)
It is an int64.

Reported-by: [email protected]
Discussion: https://postgr.es/m/159845038271.24995.15682121015698255155@wrigleys.postgresql.org

Backpatch-through: 9.5

doc/src/sgml/xfunc.sgml

index e2f40f18562ddd3942645298cd59125ef386c1e9..31093e4904d25a6e24dedb36bd9cf8454827dfef 100644 (file)
@@ -2052,7 +2052,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>