Revision 14126
Added by Aaron Marcuse-Kubitza over 10 years ago
util.sql | ||
---|---|---|
865 | 865 |
BEGIN |
866 | 866 |
IF util.cluster_index(table_) IS DISTINCT FROM index THEN |
867 | 867 |
-- not yet clustered |
868 |
EXECUTE $$CLUSTER $$||table_||$$ USING $$||quote_ident(util.name(index));
|
|
868 |
PERFORM util.eval($$CLUSTER $$||table_||$$ USING $$||quote_ident(util.name(index)));
|
|
869 | 869 |
END IF; |
870 | 870 |
END; |
871 | 871 |
$_$; |
Also available in: Unified diff
schemas/util.sql: cluster_once(): use util.eval() instead of EXECUTE to print the CLUSTER statement (if any) it's using