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?
pgsql-novice by date
|Next:||From: Andreas Kretschmer||Date: 2012-02-10 17:54:31|
|Subject: Re: Functions and query analysis - EXPLAIN|
|Previous:||From: Bartosz Dmytrak||Date: 2012-02-10 15:07:03|
|Subject: Re: timestamp in log table after update in another table|