Re: EXPLAIN doesn't show the actual function expression for FunctionScan

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: EXPLAIN doesn't show the actual function expression for FunctionScan
Дата
Msg-id
619.1282665994@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
EXPLAIN doesn't show the actual function expression for FunctionScan Tom Lane <tgl@sss.pgh.pa.us>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan David Fetter <david@fetter.org>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Andres Freund <andres@anarazel.de>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Tom Lane <tgl@sss.pgh.pa.us>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Alvaro Herrera <alvherre@commandprompt.com>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Andres Freund <andres@anarazel.de>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Robert Haas <robertmhaas@gmail.com>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Robert Haas <robertmhaas@gmail.com>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Tom Lane <tgl@sss.pgh.pa.us>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Robert Haas <robertmhaas@gmail.com>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Tom Lane <tgl@sss.pgh.pa.us>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Tom Lane <tgl@sss.pgh.pa.us>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan David Fetter <david@fetter.org>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Dimitri Fontaine <dfontaine@hi-media.com>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Tom Lane <tgl@sss.pgh.pa.us>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Dimitri Fontaine <dfontaine@hi-media.com>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Greg Stark <gsstark@mit.edu>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Tom Lane <tgl@sss.pgh.pa.us>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan "David E. Wheeler" <david@kineticode.com>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Tom Lane <tgl@sss.pgh.pa.us>
Re: EXPLAIN doesn't show the actual function expression for FunctionScan Robert Haas <robertmhaas@gmail.com>
I wrote:
> Robert Haas  writes:
>> If you try to put all that on the same line, I think it might get
>> awkwardly long.  Perhaps something like:

>> Function Scan on function_name
>> Expression: function_name(function_arg1, function_arg2, ...)

> Yeah, that's what I had in mind, but I'm still fumbling for the right
> label.  "Expression" seems a bit too generic.

How about "Function Call"?

A moment's hacking later:

regression=# explain verbose SELECT lv|| op|| rv FROM unnest(ARRAY[       ROW('1.2.2'::semver,  '='::text, '1.2.2'::semver),       ROW('1.2.23', '=', '1.2.23')   ]) AS f(lv semver, op text, rv semver);                                                          QUERY PLAN                                                           
--------------------------------------------------------------------------------------------------------------------------------Function Scan on pg_catalog.unnest f  (cost=0.00..1.50 rows=100 width=96)  Output: (((lv)::text || op) || (rv)::text)  Function Call: unnest(ARRAY[ROW(('1.2.2'::text)::semver, '='::text, ('1.2.2'::text)::semver), ROW('1.2.23', '=', '1.2.23')])
(3 rows)

Look reasonable?
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
От: Tom Lane
Дата:
Сообщение: Re: Typing Records
FAQ