plpgsql: SELECT INTO sets FOUND wrongly after a function becomes a SRF

Edit
ID 7397
Title plpgsql: SELECT INTO sets FOUND wrongly after a function becomes a SRF
CI (CFBot) Summary
Stats (from CFBot) Patch version: v1, Patch count: 2, First patch: +23−15, All patches: +88−15
Tags Bugfix
Created 2026-10-05 18:44:52
Last modified 2026-10-05 18:44:52 (16 hours ago)
Latest email 2026-10-06 00:43:07 (10 hours ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
Target version 19
Authors shihao zhong (zhong950419)
Reviewers Become reviewer
Committer
Links
Emails
[PG19] plpgsql: SELECT INTO sets FOUND wrongly after a function becomes a SRF
First at 2026-10-05 16:34:18 by shihao zhong <zhong950419 at gmail.com>
Latest at 2026-10-06 00:43:07 by shihao zhong <zhong950419 at gmail.com>
Latest attachment (v1-0001-plpgsql-fix-SELECT-INTO-when-the-expression-is-no.patch) at 2026-10-05 16:34:18 from shihao zhong <zhong950419 at gmail.com>
    Attachment (v1-0001-plpgsql-fix-SELECT-INTO-when-the-expression-is-no.patch) at 2026-10-05 16:34:18 from shihao zhong <zhong950419 at gmail.com> (Patch: No)
History
When Who What
2026-10-05 18:44:52 shihao zhong (zhong950419) Attached mail thread CAGRkXqQB_aqWU9OeVPGvATBVZ7c9EYrNXJyHG0jKXW0FGAy2-g@mail.gmail.com
2026-10-05 18:44:52 shihao zhong (zhong950419) Created patch record
Edit