Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> 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.
If the function is in the WHERE clause then you can see it in EXPLAIN
output. Functions in the SELECT list you can't see without wading
through EXPLAIN VERBOSE (or equivalently debug_print_plan).
regards, tom lane