On Mon, May 19, 2025 at 05:10:14PM -0500, Sami Imseih wrote: > I am still not sure why this is the case, but wanted to share this > for now.
Hmm. Something seems to not be compiling well for the final query of a stmtmulti in gram.y with updateRawStmtEnd(), as we rely on the position of the semicolon to decide what the stmt_len should be with multiple querues. We don't set the stmt_len without the semicolon, causing pgss to reuse the full query length when storing the entry of the last query. With the semicolon in place, stmt_len gets set for the last query of the string. Still digging more.. -- Michael
signature.asc
Description: PGP signature