Re: Set query_id for query contained in utility statement
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Cc: jian he <jian.universality@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-10-28T00:07:50Z
Lists: pgsql-hackers
On Thu, Oct 24, 2024 at 11:28:55AM +0900, Michael Paquier wrote: > Attached is the remaining piece, for DECLARE and CTAS. The > JumbleQuery() calls in ExecCreateTableAs() and ExplainOneUtility() for > CTAS queries are twins, showing the inner queries of CTAS > consistently. DECLARE is covered by one call in ExplainOneUtility() > and one in PerformCursorOpen(). I've come back to it with a fresher mind, and it still looked OK on a second look, so applied after some slight tweaks. It also means that we should be done here, so I am marking the CF entry as committed. -- Michael
Commits
-
Set query ID for inner queries of CREATE TABLE AS and DECLARE
- 6b652e6ce85a 18.0 landed
-
Track more precisely query locations for nested statements
- 499edb09741b 18.0 landed
-
pg_stat_statements: Add tests for nested queries with level tracking
- 45e0ba30fc40 18.0 landed
-
Fix race condition in COMMIT PREPARED causing orphaned 2PC files
- cf4401fe6cf5 18.0 cited