Project

General

Profile

« Previous | Next » 

Revision 13936

schemas/util.sql: added sql(col_ref)

View differences:

trunk/schemas/util.sql
4370 4370

  
4371 4371

  
4372 4372
--
4373
-- Name: sql(col_ref); Type: FUNCTION; Schema: util; Owner: -
4374
--
4375

  
4376
CREATE FUNCTION sql(col col_ref) RETURNS text
4377
    LANGUAGE sql STABLE
4378
    AS $_$
4379
SELECT $1.table_||'.'||quote_ident($1.name)
4380
$_$;
4381

  
4382

  
4383
--
4373 4384
-- Name: str_equality_regexp(text); Type: FUNCTION; Schema: util; Owner: -
4374 4385
--
4375 4386

  

Also available in: Unified diff