Skip to content

Commit ac068cc

Browse files
committed
Script to create extension from loose objects dropped altogether
pg_repack doesn't create any object to depend on, so it is always possible drop it and install a new version instead of upgrading. Creating a robust upgrade path from loose objects which can be of any version to a target version is hopelessly brittle, so I'd suggest the user just to drop a previous pg_repack version and install the new one.
1 parent 390feca commit ac068cc

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

lib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PG_CPPFLAGS = -DREPACK_VERSION=$(REPACK_VERSION)
2424

2525
#supports both EXTENSION (for >=9.1) and without_EXTENSION (for <PG 9.1)
2626
DATA_built = pg_repack.sql pg_repack--$(EXTVER).sql
27-
DATA = pg_repack--1.1.7--1.1.8.sql uninstall_pg_repack.sql
27+
DATA = uninstall_pg_repack.sql
2828

2929
USE_PGXS = 1 # use pgxs if not in contrib directory
3030
PG_CONFIG = pg_config

lib/pg_repack--1.1.7--1.1.8.sql

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)