Re: How to tell if SQL function gets inlined?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: How to tell if SQL function gets inlined?
Дата
Msg-id 200311090336.hA93a3814274@candle.pha.pa.us
обсуждение исходный текст
Ответ на How to tell if SQL function gets inlined?  (Joe Conway <mail@joeconway.com>)
Ответы Re: How to tell if SQL function gets inlined?
Список pgsql-hackers
Joe Conway wrote:
> Is there any way, short of using a debugger with a strategically placed 
> breakpoint, to tell if a SQL function has been inlined?

I think you will only see it with debug_print_plan enabled.  You can
change client_min_messages to see that in your psql session.  I think
the parse tree doesn't do the inlining, only the optimizer.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: How to tell if SQL function gets inlined?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to tell if SQL function gets inlined?