Project

General

Profile

« Previous | Next » 

Revision 12756

fix: schemas/util.sql: explain2notice_msg(): don't include EXPLAIN output for simple, single-value queries, to avoid cluttering up the log output

View differences:

util.sql
1583 1583
    LANGUAGE sql
1584 1584
    AS $_$
1585 1585
-- newline before and after to visually separate it from other debug info
1586
SELECT $$
1586
SELECT COALESCE($$
1587 1587
EXPLAIN:
1588
$$||util.explain2str($1)||$$
1589
$$
1588
$$||util.fold_explain_msg(util.explain2str($1))||$$
1589
$$, '')
1590 1590
$_$;
1591 1591

  
1592 1592

  

Also available in: Unified diff