Functions and query analysis - EXPLAIN

Поиск
Список
Период
Сортировка
От Andy Halsall
Тема Functions and query analysis - EXPLAIN
Дата
Msg-id BLU123-W6BE97326944EC920DF5E2F5780@phx.gbl
обсуждение исходный текст
Ответы Re: Functions and query analysis - EXPLAIN
Список pgsql-novice
Is it possible to use EXPLAIN from inside a function? Have seen this post http://archives.postgresql.org/pgsql-general/2011-04/msg00750.php but can't get it to work on even a simple query. Need it to work on a query in a function with a UNION.
 
Perhaps there's a better way of determining if my function is using the indexes I'd like it to use?
 
Thanks,
Andy

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