Project

General

Profile

« Previous | Next » 

Revision 14124

bugfix: schemas/util.sql: cluster_once(): need to use just the name of the index, without the schema prefix

View differences:

trunk/schemas/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 $$||index;
868
		EXECUTE $$CLUSTER $$||table_||$$ USING $$||quote_ident(util.name(index));
869 869
	END IF;
870 870
END;
871 871
$_$;

Also available in: Unified diff