Project

General

Profile

1 12922 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
';