Project

General

Profile

« Previous | Next » 

Revision 12355

schemas/util.sql: added name_was_truncated()

View differences:

trunk/schemas/util.sql
2072 2072

  
2073 2073

  
2074 2074
--
2075
-- Name: name_was_truncated(text); Type: FUNCTION; Schema: util; Owner: -
2076
--
2077

  
2078
CREATE FUNCTION name_was_truncated(name_ text) RETURNS boolean
2079
    LANGUAGE sql IMMUTABLE
2080
    AS $_$
2081
SELECT octet_length($1) = 63
2082
$_$;
2083

  
2084

  
2085
--
2075 2086
-- Name: namedatalen(); Type: FUNCTION; Schema: util; Owner: -
2076 2087
--
2077 2088

  

Also available in: Unified diff