FuncCallContext's call_cntr & max_calls are uint64

Started by Vicky Vergaraover 9 years ago2 messagesdocs
Jump to latest
#1Vicky Vergara
vicky_vergara@hotmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.5/static/spi-examples.html
Description:

Hello:

This documentation issue is for 9.6 (I don't know if it also applies for
9.5, but I am sure it does not apply for 9.4)

In section 36.9.9
https://www.postgresql.org/docs/current/static/xfunc-c.html

says:

uint32 call_cntr;
...
uint32 max_calls;

based on:
http://doxygen.postgresql.org/funcapi_8h_source.html#l00057

It should say:

uint64 call_cntr;
...
uint64 call_cntr;

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Vicky Vergara (#1)
Re: FuncCallContext's call_cntr & max_calls are uint64

vicky_vergara@hotmail.com writes:

In section 36.9.9
https://www.postgresql.org/docs/current/static/xfunc-c.html
says:
uint32 call_cntr;
uint32 max_calls;
It should say:
uint64 call_cntr;

Yeah, you're right. I missed that while widening those counters.
Will fix, thanks!

regards, tom lane

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs