"Joel Jacobson" <[email protected]> writes:
> I found a hash scan leak in pg_listening_channels(), introduced by
> 282b1cde9d.

Good catch.

> Attached patch uses InitMaterializedSRF() to complete the scan
> before returning rows, following 257c8231bf.

I am wondering why you used MAT_SRF_USE_EXPECTED_DESC?
AFAICT that's only needed in functions returning "setof record",
and with a fixed output type it's usual to just pass flags = 0.

                        regards, tom lane


Reply via email to