Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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 732d93552127e8ee8dd494a726d86f45ebf435b6..e0692e993f59276103acae37b20a6784003303f8 100644 (file)
@@ -2226,7 +2226,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>