Project

General

Profile

« Previous | Next » 

Revision 9956

schemas/util.sql: added not_null() (usable as an aggregate's FINALFUNC)

View differences:

schemas/util.sql
915 915

  
916 916

  
917 917
--
918
-- Name: not_null(anyelement); Type: FUNCTION; Schema: util; Owner: -
919
--
920

  
921
CREATE FUNCTION not_null(value anyelement) RETURNS boolean
922
    LANGUAGE sql IMMUTABLE STRICT
923
    AS $_$
924
SELECT $1 IS NOT NULL
925
$_$;
926

  
927

  
928
--
918 929
-- Name: rename_cols(regclass, anyelement); Type: FUNCTION; Schema: util; Owner: -
919 930
--
920 931

  

Also available in: Unified diff