Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcc302f3

Browse files
committed
Doc: fix data types of FuncCallContext's call_cntr and max_calls fields.
Commit23a27b0 widened these from uint32 to uint64, but I overlookedthat the documentation explicitly showed them as uint32. Per reportfrom Vicky Vergara.Report: <20161111135422.8761.36733@wrigleys.postgresql.org>
1 parent05a6e87 commitcc302f3

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)

[8]ページ先頭

©2009-2025 Movatter.jp