Revision 12452
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
1466 | 1466 |
|
1467 | 1467 |
|
1468 | 1468 |
-- |
1469 |
-- Name: explain2notice_msg_if_can(text); Type: FUNCTION; Schema: util; Owner: - |
|
1470 |
-- |
|
1471 |
|
|
1472 |
CREATE FUNCTION explain2notice_msg_if_can(sql text) RETURNS text |
|
1473 |
LANGUAGE sql |
|
1474 |
AS $_$ |
|
1475 |
SELECT (CASE WHEN util.is_explainable($1) THEN util.explain2notice_msg($1) END) |
|
1476 |
$_$; |
|
1477 |
|
|
1478 |
|
|
1479 |
-- |
|
1469 | 1480 |
-- Name: explain2str(text); Type: FUNCTION; Schema: util; Owner: - |
1470 | 1481 |
-- |
1471 | 1482 |
|
Also available in: Unified diff
schemas/util.sql: added explain2notice_msg_if_can()