Project

General

Profile

« Previous | Next » 

Revision 12359

fix: name_was_truncated(): should use util.namedatalen() instead of hardcoding the value

View differences:

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

  
2084 2084

  

Also available in: Unified diff