Convert pg_stat_get_backend_idset to use the existing SRF support.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 125bf342fd98b2b1deef20bcf3028e4dda0445fb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-10-01T21:03:42Z
Releases: 8.0.0
Convert pg_stat_get_backend_idset to use the existing SRF support.
This seems the cleanest way of fixing its lack of a shutdown callback,
which was preventing it from working correctly in a query that didn't
run it to completion.  Per bug report from Szima GÄbor.

Files

PathChange+/−
src/backend/utils/adt/pgstatfuncs.c modified +45 −29