Skip to content

Commit

Permalink
RHINENG-10032: recreate pg_repack extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Dugowitch committed Sep 19, 2024
1 parent e3b81ea commit f13d9d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
DO $$
BEGIN
DROP EXTENSION IF EXISTS pg_repack;
IF EXISTS (SELECT 1 FROM pg_available_extensions WHERE name = 'pg_repack') THEN
CREATE EXTENSION pg_repack;
END IF;
END
$$;
2 changes: 1 addition & 1 deletion database_admin/schema/create_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS schema_migrations


INSERT INTO schema_migrations
VALUES (129, false);
VALUES (130, false);

-- ---------------------------------------------------------------------------
-- Functions
Expand Down

0 comments on commit f13d9d3

Please sign in to comment.