Revision 14130
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
884 | 884 |
AS $_$ |
885 | 885 |
SELECT CASE |
886 | 886 |
WHEN util.cluster_index($1) IS DISTINCT FROM $2 THEN -- not yet clustered |
887 |
util.eval($$CLUSTER $$||table_||$$ USING $$||quote_ident(util.name(index)))
|
|
887 |
util.cluster(table_, index)
|
|
888 | 888 |
END |
889 | 889 |
$_$; |
890 | 890 |
|
Also available in: Unified diff
schemas/util.sql: cluster_once(): use util.cluster()