Project

General

Profile

« Previous | Next » 

Revision 12242

schemas/util.sql: regenerated from DB, which reorders the functions

View differences:

util.sql
1863 1863

  
1864 1864

  
1865 1865
--
1866
-- Name: name(regclass); Type: FUNCTION; Schema: util; Owner: -
1867
--
1868

  
1869
CREATE FUNCTION name(table_ regclass) RETURNS text
1870
    LANGUAGE sql STABLE
1871
    AS $_$
1872
SELECT relname::text FROM pg_class WHERE oid = $1
1873
$_$;
1874

  
1875

  
1876
--
1866 1877
-- Name: name(regtype); Type: FUNCTION; Schema: util; Owner: -
1867 1878
--
1868 1879

  
......
2052 2063

  
2053 2064

  
2054 2065
--
2066
-- Name: schema(regclass); Type: FUNCTION; Schema: util; Owner: -
2067
--
2068

  
2069
CREATE FUNCTION schema(table_ regclass) RETURNS text
2070
    LANGUAGE sql STABLE
2071
    AS $_$
2072
SELECT nspname::text FROM pg_namespace WHERE oid = (SELECT relnamespace FROM pg_class WHERE oid = $1)
2073
$_$;
2074

  
2075

  
2076
--
2055 2077
-- Name: schema(regtype); Type: FUNCTION; Schema: util; Owner: -
2056 2078
--
2057 2079

  
......
2405 2427

  
2406 2428

  
2407 2429
--
2408
-- Name: name(regclass); Type: FUNCTION; Schema: util; Owner: -
2409
--
2410

  
2411
CREATE FUNCTION name(table_ regclass) RETURNS text
2412
    LANGUAGE sql STABLE
2413
    AS $_$
2414
SELECT relname::text FROM pg_class WHERE oid = $1
2415
$_$;
2416

  
2417

  
2418
--
2419 2430
-- Name: table_nulls_mapped__get(regclass); Type: FUNCTION; Schema: util; Owner: -
2420 2431
--
2421 2432

  
......
2457 2468

  
2458 2469

  
2459 2470
--
2460
-- Name: schema(regclass); Type: FUNCTION; Schema: util; Owner: -
2461
--
2462

  
2463
CREATE FUNCTION schema(table_ regclass) RETURNS text
2464
    LANGUAGE sql STABLE
2465
    AS $_$
2466
SELECT nspname::text FROM pg_namespace WHERE oid = (SELECT relnamespace FROM pg_class WHERE oid = $1)
2467
$_$;
2468

  
2469

  
2470
--
2471 2471
-- Name: to_global_col_names(regclass); Type: FUNCTION; Schema: util; Owner: -
2472 2472
--
2473 2473

  

Also available in: Unified diff