Re: pg_stat_reset round 2 - Mailing list pgsql-patches

From Christopher Kings-Lynne
Subject Re: pg_stat_reset round 2
Date
Msg-id GNELIHDDFBOCMGBFGEFOOEICCDAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: pg_stat_reset round 2  (Neil Conway <nconway@klamath.dyndns.org>)
Responses pg_stat_reset round 3
List pgsql-patches
> It should be marked volatile (rather than stable), as it has
> side-effects.

OK, I'll fix it.

> Wouldn't PG_RETURN_VOID() be more appropriate than returning true?

I was under the impression that functions used in SELECTs cannot use
PG_RETURN_VOID()...

Chris


pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: pg_stat_reset round 2
Next
From: "Christopher Kings-Lynne"
Date:
Subject: pg_stat_reset round 3