Skip to content

Commit cc302f3

Browse files
committed
Doc: fix data types of FuncCallContext's call_cntr and max_calls fields.
Commit 23a27b0 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>
1 parent 05a6e87 commit cc302f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/xfunc.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2870,15 +2870,15 @@ HeapTupleGetDatum(HeapTuple tuple)
28702870
is used to hold a pointer to <structname>FuncCallContext</>
28712871
across calls.
28722872
<programlisting>
2873-
typedef struct
2873+
typedef struct FuncCallContext
28742874
{
28752875
/*
28762876
* Number of times we've been called before
28772877
*
28782878
* call_cntr is initialized to 0 for you by SRF_FIRSTCALL_INIT(), and
28792879
* incremented for you every time SRF_RETURN_NEXT() is called.
28802880
*/
2881-
uint32 call_cntr;
2881+
uint64 call_cntr;
28822882

28832883
/*
28842884
* OPTIONAL maximum number of calls
@@ -2887,7 +2887,7 @@ typedef struct
28872887
* If not set, you must provide alternative means to know when the
28882888
* function is done.
28892889
*/
2890-
uint32 max_calls;
2890+
uint64 max_calls;
28912891

28922892
/*
28932893
* OPTIONAL pointer to result slot

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy