Convert pg_stat_get_backend_idset to use the existing SRF support.
authorTom Lane <[email protected]>
Fri, 1 Oct 2004 21:09:46 +0000 (21:09 +0000)
committerTom Lane <[email protected]>
Fri, 1 Oct 2004 21:09:46 +0000 (21:09 +0000)
commit76d8438942ae366e501ab6a2cd1e19f0473592c1
treeec2b6f7fe0f448ded9734be33fcca576380593d4
parent90a448e0bde956359d2c4cd82a5391d5b2feaab9
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.
src/backend/utils/adt/pgstatfuncs.c