Re: Default gucs for EXPLAIN - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Default gucs for EXPLAIN
Date
Msg-id 20200526143501.GG3418@tamriel.snowman.net
Whole thread Raw
In response to Re: Default gucs for EXPLAIN  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Greetings,

* Pavel Stehule (pavel.stehule@gmail.com) wrote:
> the partial solution can be custom psql statements. Now, it can be just
> workaround
>
> \set explain 'explain (analyze, buffers)'
> :explain select * from pg_class ;
>
> and anybody can prepare customized statements how he likes

Yeah, it's really very rudimentary though, unfortunately.  A proper
language in psql would be *really* nice with good ways to reference
variables and such..

I don't view this as really being a good justification to not have a
\explain type of command.

Thanks,

Stephen

Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Default gucs for EXPLAIN
Next
From: Tom Lane
Date:
Subject: Re: hash join error improvement (old)