Project

General

Profile

« Previous | Next » 

Revision 10137

schemas/util.sql: added is_constant(col_ref), for checking if a column has been marked "constant"

View differences:

schemas/util.sql
911 911

  
912 912

  
913 913
--
914
-- Name: is_constant(col_ref); Type: FUNCTION; Schema: util; Owner: -
915
--
916

  
917
CREATE FUNCTION is_constant(col col_ref) RETURNS boolean
918
    LANGUAGE sql STABLE STRICT
919
    AS $_$
920
SELECT COALESCE(util.col_comment($1) LIKE 'constant%', false)
921
$_$;
922

  
923

  
924
--
914 925
-- Name: join_strs_transform(text, text, text); Type: FUNCTION; Schema: util; Owner: -
915 926
--
916 927

  

Also available in: Unified diff