Revision 9957
Added by Aaron Marcuse-Kubitza over 11 years ago
schemas/util.sql | ||
---|---|---|
919 | 919 |
-- |
920 | 920 |
|
921 | 921 |
CREATE FUNCTION not_null(value anyelement) RETURNS boolean |
922 |
LANGUAGE sql IMMUTABLE STRICT
|
|
922 |
LANGUAGE sql IMMUTABLE |
|
923 | 923 |
AS $_$ |
924 | 924 |
SELECT $1 IS NOT NULL |
925 | 925 |
$_$; |
Also available in: Unified diff
schemas/util.sql: added not_null() (usable as an aggregate's FINALFUNC)