Re: pg_stat_statements vs. SELECT FOR UPDATE
Andrew Gierth <andrew@tao11.riddles.org.uk>
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2019-01-20T00:15:55Z
Lists: pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes: > Andrew Gierth <andrew@tao11.riddles.org.uk> writes: >> I propose that it should not ignore rowMarks, per the attached patch or >> something similar. Tom> +1 for not ignoring rowMarks, but this patch seems like a hack to Tom> me. Why didn't you just add RowMarkClause as one of the known Tom> alternative expression node types? Because it's not an expression and nothing anywhere else in the backend treats it as such? -- Andrew (irc:RhodiumToad)
Commits
-
Teach pg_stat_statements not to ignore FOR UPDATE clauses
- 6e74c64bcf61 13.0 landed