explain with costs in subselect.sql

Поиск
Список
Период
Сортировка
От Andres Freund
Тема explain with costs in subselect.sql
Дата
Msg-id 20180312222023.i4sgkbl4oqtstus3@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: explain with costs in subselect.sql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi Tom, all,

When forcing JITing to be enabled for all queries, obviously only useful
for testing, I noticed that two explain outputs changed after I added
explain support.

The only differences come from:

-- Unspecified-type literals in output columns should resolve as text

SELECT *, pg_typeof(f1) FROM
  (SELECT 'foo' AS f1 FROM generate_series(1,3)) ss ORDER BY 1;

-- ... unless there's context to suggest differently

explain verbose select '42' union all select '43';
explain verbose select '42' union all select 43;

which don't use costs=off.  Is there a reason for that? I assume it was
just a harmless oversight?

Has been added in
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=1e7c4bb0049732ece651d993d03bb6772e5d281a

Greetings,

Andres Freund


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [patch] BUG #15005: ANALYZE can make pg_class.reltuples inaccurate.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: explain with costs in subselect.sql