Project

General

Profile

« Previous | Next » 

Revision 8138

schemas/functions.sql: ensure_prefix(): Made it IMMUTABLE instead of STABLE

View differences:

schemas/functions.sql
610 610
--
611 611

  
612 612
CREATE FUNCTION ensure_prefix(prefix text, str text) RETURNS text
613
    LANGUAGE sql STABLE STRICT
613
    LANGUAGE sql IMMUTABLE STRICT
614 614
    AS $_$
615 615
SELECT (CASE WHEN functions.has_prefix($1, $2) THEN $2 ELSE $1||$2 END)
616 616
$_$;

Also available in: Unified diff