Project

General

Profile

« Previous | Next » 

Revision 14778

schemas/util.sql: added name_truncate()

View differences:

util.sql
4278 4278

  
4279 4279

  
4280 4280
--
4281
-- Name: name_truncate(text); Type: FUNCTION; Schema: util; Owner: -
4282
--
4283

  
4284
CREATE FUNCTION name_truncate(name_ text) RETURNS text
4285
    LANGUAGE sql IMMUTABLE
4286
    AS $$
4287
SELECT name_::name::text
4288
$$;
4289

  
4290

  
4291
--
4281 4292
-- Name: name_was_truncated(text, integer); Type: FUNCTION; Schema: util; Owner: -
4282 4293
--
4283 4294

  

Also available in: Unified diff