FuncCallContext's call_cntr & max_calls are uint64

Lists: pgsql-docs
From: vicky_vergara(at)hotmail(dot)com
To: pgsql-docs(at)postgresql(dot)org
Subject: FuncCallContext's call_cntr & max_calls are uint64
Date: 2016-11-11 13:54:22
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-docs

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;


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vicky_vergara(at)hotmail(dot)com
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: FuncCallContext's call_cntr & max_calls are uint64
Date: 2016-11-11 15:22:53
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-docs

vicky_vergara(at)hotmail(dot)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