EXPLAIN with anonymous DO block? - Mailing list pgsql-general

From Ron
Subject EXPLAIN with anonymous DO block?
Date
Msg-id a1a8a7f0-207f-2046-bb4a-348250bc08c0@gmail.com
Whole thread Raw
Responses Re: EXPLAIN with anonymous DO block?  (Michael Lewis <mlewis@entrata.com>)
Re: EXPLAIN with anonymous DO block?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Postgresql 12.5

There's a query inside a DO block which -- because it's parameterized -- I'd 
rather analyze while it's in the FOR loop of a DO block, instead of pulling 
it out and hard-coding the parameters.

Is this possible?  If so, where do I put the EXPLAIN statement?

-- 
Angular momentum makes the world go 'round.



pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Damaged (during upgrade?) table, how to repair?
Next
From: Michael Lewis
Date:
Subject: Re: EXPLAIN with anonymous DO block?