Content-Length: 275495 | pFad | http://github.com/postgrespro/postgres/commit/dddc91ddd33d5db07463f2f3f3a044ab98042cf1

53 Remove broken PGXS code for pg_xlogdump · postgrespro/postgres@dddc91d · GitHub
Skip to content

Commit dddc91d

Browse files
committed
Remove broken PGXS code for pg_xlogdump
With the PGXS boilerplate in place, pg_xlogdump currently fails with an ominous error message that certain targets cannot be built because certain files do not exist. Remove that and instead throw a quick error message alerting the user of the actual problem, which should be easier to diagnose that the statu quo. Andres Freund
1 parent 7ce569b commit dddc91d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

contrib/pg_xlogdump/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ RMGRDESCOBJS = $(patsubst %.c,%.o,$(RMGRDESCSOURCES))
1313
EXTRA_CLEAN = $(RMGRDESCSOURCES) xlogreader.c
1414

1515
ifdef USE_PGXS
16-
PG_CONFIG = pg_config
17-
PGXS := $(shell $(PG_CONFIG) --pgxs)
18-
include $(PGXS)
19-
else
16+
$(error "pg_xlogdump cannot be built with PGXS")
17+
endif
18+
2019
subdir = contrib/pg_xlogdump
2120
top_builddir = ../..
2221
include $(top_builddir)/src/Makefile.global
2322
include $(top_srcdir)/contrib/contrib-global.mk
24-
endif
23+
2524

2625
override CPPFLAGS := -DFRONTEND $(CPPFLAGS)
2726

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/dddc91ddd33d5db07463f2f3f3a044ab98042cf1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy