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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy