Project

General

Profile

« Previous | Next » 

Revision 12453

schemas/util.sql: util.debug_print_sql(): include the EXPLAIN output of applicable queries, for easier query plan debugging (just like lib/sql.py's db.autoexplain)

View differences:

trunk/schemas/util.sql
989 989
newline after to visually separate queries from one another. */
990 990
SELECT util.raise_notice($$
991 991
$$||$1||$$
992
$$)
992
$$||COALESCE(util.explain2notice_msg_if_can($1), ''))
993 993
$_$;
994 994

  
995 995

  

Also available in: Unified diff