From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: EXPLAIN with anonymous DO block?
Date: Thu, 1 Jul 2021 11:16:25 -0500
Message-ID: <a1a8a7f0-207f-2046-bb4a-348250bc08c0@gmail.com> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: EXPLAIN with anonymous DO block?
In-Reply-To: <a1a8a7f0-207f-2046-bb4a-348250bc08c0@gmail.com>
References: <a1a8a7f0-207f-2046-bb4a-348250bc08c0@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox