root/trunk/inputs/bien2_traits/validations.-.util.sql @ 13480
1 | 12246 | aaronmk | CREATE OR REPLACE FUNCTION ifnull(value anyelement, null_ anyelement) |
---|---|---|---|
2 | RETURNS anyelement AS |
||
3 | $BODY$ |
||
4 | SELECT util.ifnull($1, $2) |
||
5 | $BODY$ |
||
6 | LANGUAGE sql IMMUTABLE |
||
7 | COST 100; |
||
8 | COMMENT ON FUNCTION ifnull(anyelement, anyelement) IS ' |
||
9 | wrapper that prevents views from getting dropped when the util schema is reinstalled
|
||
10 | '; |