aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-11-11 12:03:49 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-11-11 12:03:49 -0500
commit1c1475577623019ff887825b9a804f78ec806344 (patch)
tree87e092b36748ff21919647fb725045dc667b2254
parent24aef33804be5d7d71bc3932ced3407fce71e354 (diff)
downloadpostgresql-1c1475577623019ff887825b9a804f78ec806344.tar.gz
postgresql-1c1475577623019ff887825b9a804f78ec806344.zip
Doc: fix data types of FuncCallContext's call_cntr and max_calls fields.
Commit 23a27b039 widened these from uint32 to uint64, but I overlooked that the documentation explicitly showed them as uint32. Per report from Vicky Vergara. Report: <20161111135422.8761.36733@wrigleys.postgresql.org>
-rw-r--r--doc/src/sgml/xfunc.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml
index de6a466efc5..783702a6373 100644
--- a/doc/src/sgml/xfunc.sgml
+++ b/doc/src/sgml/xfunc.sgml
@@ -2870,7 +2870,7 @@ HeapTupleGetDatum(HeapTuple tuple)
is used to hold a pointer to <structname>FuncCallContext</>
across calls.
<programlisting>
-typedef struct
+typedef struct FuncCallContext
{
/*
* Number of times we've been called before
@@ -2878,7 +2878,7 @@ typedef struct
* call_cntr is initialized to 0 for you by SRF_FIRSTCALL_INIT(), and
* incremented for you every time SRF_RETURN_NEXT() is called.
*/
- uint32 call_cntr;
+ uint64 call_cntr;
/*
* OPTIONAL maximum number of calls
@@ -2887,7 +2887,7 @@ typedef struct
* If not set, you must provide alternative means to know when the
* function is done.
*/
- uint32 max_calls;
+ uint64 max_calls;
/*
* OPTIONAL pointer to result slot