Revision 12449
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
1447 | 1447 |
-- |
1448 | 1448 |
|
1449 | 1449 |
CREATE FUNCTION explain2notice(sql text) RETURNS void |
1450 |
LANGUAGE plpgsql |
|
1451 |
AS $$ |
|
1452 |
BEGIN |
|
1453 |
RAISE NOTICE '%', util.explain2notice_msg(sql); |
|
1454 |
END; |
|
1455 |
$$; |
|
1450 |
LANGUAGE sql |
|
1451 |
AS $_$ |
|
1452 |
SELECT util.raise_notice(util.explain2notice_msg($1)) |
|
1453 |
$_$; |
|
1456 | 1454 |
|
1457 | 1455 |
|
1458 | 1456 |
-- |
Also available in: Unified diff
schemas/util.sql: explain2notice(): use util.raise_notice()