Re: Centralizing protective copying of utility statements
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2021-06-18T00:57:10Z
Lists: pgsql-hackers
On Thu, Jun 17, 2021 at 02:08:34PM -0700, Andres Freund wrote: > Unfortunately github is annoying to search through - it doesn't seem to > have any logic to prevent duplicates across repositories :(. Which means > there's dozens of copies of postgres code included... I agree with the position of doing something now while in beta. I have not looked at the tree, but I am rather sure that we had changes in the hooks while in beta phase in the past. >> which admittedly is more than none, but it's not a huge number >> either. I have to think that fixing this bug reliably is a >> more important consideration. > > Sure! The DECLARE CURSOR case in ExplainOneUtility() does a copy of a Query. Perhaps a comment should be added to explain why a copy is still required? -- Michael
Commits
-
Avoid scribbling on input node tree in CREATE/ALTER DOMAIN.
- f172438ef6ff 10.18 landed
- b2c740c426da 12.8 landed
- 4b8b3562e1e6 11.13 landed
- 1a3d30255a4e 9.6.23 landed
- 102f31a208b8 13.4 landed
-
Centralize the logic for protective copying of utility statements.
- 7c337b6b527b 14.0 landed