Project

General

Profile

« Previous | Next » 

Revision 14198

schemas/util.sql: added typeof(text, regclass)

View differences:

util.sql
5441 5441

  
5442 5442

  
5443 5443
--
5444
-- Name: typeof(text, regclass); Type: FUNCTION; Schema: util; Owner: -
5445
--
5446

  
5447
CREATE FUNCTION typeof(expr text, table_ regclass) RETURNS regtype
5448
    LANGUAGE sql STABLE
5449
    AS $$
5450
SELECT util.typeof(expr, util.regtype(table_))
5451
$$;
5452

  
5453

  
5454
--
5444 5455
-- Name: typeof(text, regtype); Type: FUNCTION; Schema: util; Owner: -
5445 5456
--
5446 5457

  

Also available in: Unified diff