Project

General

Profile

« Previous | Next » 

Revision 8104

schemas/functions.sql: Added cluster_index()

View differences:

functions.sql
476 476

  
477 477

  
478 478
--
479
-- Name: cluster_index(regclass); Type: FUNCTION; Schema: functions; Owner: -
480
--
481

  
482
CREATE FUNCTION cluster_index(table_ regclass) RETURNS regclass
483
    LANGUAGE sql STABLE STRICT
484
    AS $_$
485
SELECT indexrelid FROM pg_index WHERE indrelid = $1 AND indisclustered
486
$_$;
487

  
488

  
489
--
479 490
-- Name: col_global_names(regtype); Type: FUNCTION; Schema: functions; Owner: -
480 491
--
481 492

  

Also available in: Unified diff