Re: Proposals for EXPLAIN: rename ANALYZE to EXECUTE and extend VERBOSE

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Proposals for EXPLAIN: rename ANALYZE to EXECUTE and extend VERBOSE
Дата
Msg-id 1f6e3f50-9838-409e-bccf-c089948075fa@eisentraut.org
обсуждение исходный текст
Ответ на Re: Proposals for EXPLAIN: rename ANALYZE to EXECUTE and extend VERBOSE  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 05.11.24 19:19, Robert Haas wrote:
>> 1) EXPLAIN ANALYZE Is sometimes very confusing (because there is ANALYZE). Let's rename it to EXPLAIN EXECUTE?
> The trouble is that EXPLAIN EXECUTE already means something.
> 
> robert.haas=# explain execute foo;
> ERROR:  prepared statement "foo" does not exist
> 
> Granted, that would not make it impossible to make EXPLAIN (EXECUTE) a
> synonym for EXPLAIN (ANALYZE), but IMHO it would be pretty confusing
> if EXPLAIN EXECUTE and EXPLAIN (EXECUTE) did different things.

At some point in the past, the idea of renaming EXPLAIN ANALYZE to 
PROFILE was thrown around.  I still kind of like that idea.  You'd have 
to keep the existing syntax around, of course.




В списке pgsql-hackers по дате отправления: