Project

General

Profile

« Previous | Next » 

Revision 10987

schemas/util.sql: added esc_name__append()

View differences:

schemas/util.sql
961 961

  
962 962

  
963 963
--
964
-- Name: esc_name__append(text, text); Type: FUNCTION; Schema: util; Owner: -
965
--
966

  
967
CREATE FUNCTION esc_name__append(suffix text, esc_name text) RETURNS text
968
    LANGUAGE sql IMMUTABLE
969
    AS $_$
970
SELECT regexp_replace($2, '("?)$', $1||'\1')
971
$_$;
972

  
973

  
974
--
964 975
-- Name: eval(text); Type: FUNCTION; Schema: util; Owner: -
965 976
--
966 977

  

Also available in: Unified diff