Re: BUG #17199: Calling stored procedure with stable function as argument results in wrong result
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: notegihu@confused.at
Cc: pgsql-bugs@lists.postgresql.org
Date: 2021-09-21T15:49:56Z
Lists: pgsql-bugs
Attachments
- eval-CALL-arguments-with-fresh-snapshot.patch (text/x-diff) patch
I wrote: > Ugh. Looks like I broke this in 84f5c2908, by not thinking about the > possibility that a CALL's argument expressions would need an up-to-date > snapshot. Concretely, the attached seems to take care of it. I'll refrain from pushing this till later, though, since v14 is frozen for rc1 for a few hours more. regards, tom lane
Commits
-
Fix misevaluation of STABLE parameters in CALL within plpgsql.
- 2ad5f963e130 14.0 landed
- 4476bcb8773b 15.0 landed
- e8b0bcae63ff 12.9 landed
- 5f0a073cbbf8 13.5 landed
- 13921c511266 11.14 landed