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 e7612135a92bf40bbfea193f4f626ee48af6522b..5e92fa9272eabe4de2d4324d8627d138b8770a5d 100644 (file)
@@ -2147,7 +2147,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>