Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdddc91d

Browse files
committed
Remove broken PGXS code for pg_xlogdump
With the PGXS boilerplate in place, pg_xlogdump currently fails with anominous error message that certain targets cannot be built becausecertain files do not exist. Remove that and instead throw a quick errormessage alerting the user of the actual problem, which should be easierto diagnose that the statu quo.Andres Freund
1 parent7ce569b commitdddc91d

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
ifdefUSE_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
overrideCPPFLAGS := -DFRONTEND$(CPPFLAGS)
2726

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp