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.
This commit is contained in:
Daniele Varrazzo
2012-11-12 00:13:33 +00:00
parent 390feca0e1
commit ac068cc69b
2 changed files with 1 additions and 26 deletions

View File

@ -24,7 +24,7 @@ PG_CPPFLAGS = -DREPACK_VERSION=$(REPACK_VERSION)
#supports both EXTENSION (for >=9.1) and without_EXTENSION (for <PG 9.1)
DATA_built = pg_repack.sql pg_repack--$(EXTVER).sql
DATA = pg_repack--1.1.7--1.1.8.sql uninstall_pg_repack.sql
DATA = uninstall_pg_repack.sql
USE_PGXS = 1 # use pgxs if not in contrib directory
PG_CONFIG = pg_config