"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> This is a reworked patch. It makes pg_stat_reset() a documented builtin
> function. It requires superuser privileges to execute. The committer
> should check my pg_proc.h entry to make sure I've set isstrict, volatility,
> etc. correctly...
It should be marked volatile (rather than stable), as it has
side-effects.
Wouldn't PG_RETURN_VOID() be more appropriate than returning true?
Cheers,
Neil
--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC