Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c2e9b2f

Browse files
committed
Add pg_upgrade to /contrib; will be in 9.0 beta2.
Add documentation. Supports migration from PG 8.3 and 8.4.
1 parent 28e1742 commit c2e9b2f

22 files changed

+6384
-2
lines changed

contrib/pg_upgrade/Makefile

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# Makefile for pg_upgrade
3+
#
4+
# targets: all, clean, install, uninstall
5+
#
6+
# This Makefile generates an executable and a shared object file
7+
#
8+
9+
PROGRAM = pg_upgrade
10+
OBJS = check.o controldata.o dump.o exec.o file.o function.o info.o \
11+
option.o page.o pg_upgrade.o relfilenode.o server.o \
12+
tablespace.o util.o version.o version_old_8_3.o $(WIN32RES)
13+
14+
PG_CPPFLAGS = -DFRONTEND -DDLSUFFIX=\"$(DLSUFFIX)\" -I$(srcdir) -I$(libpq_srcdir)
15+
PG_LIBS = $(libpq_pgport)
16+
17+
PGFILEDESC = "pg_upgrade - In-Place Binary Upgrade Utility"
18+
PGAPPICON = win32
19+
MODULES = pg_upgrade_sysoids
20+
21+
ifdef USE_PGXS
22+
PG_CONFIG = pg_config
23+
PGXS := $(shell $(PG_CONFIG) --pgxs)
24+
include $(PGXS)
25+
else
26+
subdir = contrib/pg_upgrade
27+
top_builddir = ../..
28+
include $(top_builddir)/src/Makefile.global
29+
include $(top_srcdir)/contrib/contrib-global.mk
30+
endif

0 commit comments

Comments
 (0)