Convert pg_stat_get_backend_idset to use the existing SRF support.

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

Commit: 0ed57c310c05762516e4d1e1748e4a62ffedc295
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-10-01T21:09:46Z
Releases: 7.4.6
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