Re: Correctly propagate queryId for utility stmt in function

2024-07-18 Thread Michael Paquier
On Thu, Jul 18, 2024 at 01:37:40PM +0200, Anthonin Bonnefoy wrote: > For utility statements defined within a function, the queryTree is > copied to a plannedStmt as utility commands don't require planning. > However, the queryId is not propagated to the plannedStmt. This leads > to plugins relying

Correctly propagate queryId for utility stmt in function

2024-07-18 Thread Anthonin Bonnefoy
bject: Correctly propagate queryId for utility stmt in function For utility statements defined within a function, the queryTree is copied to a plannedStmt as utility commands don't require planning. However, the queryId is not propagated to the plannedStmt. This leads to plugins relying on qu