Skip to content
Snippets Groups Projects
Commit 2b201492 authored by Dan Notestein's avatar Dan Notestein
Browse files

Add missing schema name that is needed when dropping index

parent 2015fc84
No related branches found
No related tags found
1 merge request!83Merge develop to master for release
Pipeline #106158 passed
...@@ -21,7 +21,7 @@ DO $$ ...@@ -21,7 +21,7 @@ DO $$
BEGIN BEGIN
IF EXISTS(SELECT 1 FROM pg_index WHERE NOT indisvalid AND indexrelid = (SELECT oid FROM pg_class WHERE relname = 'effective_comment_vote_idx')) THEN IF EXISTS(SELECT 1 FROM pg_index WHERE NOT indisvalid AND indexrelid = (SELECT oid FROM pg_class WHERE relname = 'effective_comment_vote_idx')) THEN
RAISE NOTICE 'Dropping invalid index effective_comment_vote_idx, it will be recreated'; RAISE NOTICE 'Dropping invalid index effective_comment_vote_idx, it will be recreated';
DROP INDEX effective_comment_vote_idx; DROP INDEX hive.effective_comment_vote_idx;
END IF; END IF;
END END
$$; $$;
...@@ -39,7 +39,7 @@ DO $$ ...@@ -39,7 +39,7 @@ DO $$
BEGIN BEGIN
IF EXISTS(SELECT 1 FROM pg_index WHERE NOT indisvalid AND indexrelid = (SELECT oid FROM pg_class WHERE relname = 'delete_comment_op_idx')) THEN IF EXISTS(SELECT 1 FROM pg_index WHERE NOT indisvalid AND indexrelid = (SELECT oid FROM pg_class WHERE relname = 'delete_comment_op_idx')) THEN
RAISE NOTICE 'Dropping invalid index delete_comment_op_idx, it will be recreated'; RAISE NOTICE 'Dropping invalid index delete_comment_op_idx, it will be recreated';
DROP INDEX delete_comment_op_idx; DROP INDEX hive.delete_comment_op_idx;
END IF; END IF;
END END
$$; $$;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment