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

Commit8fe15fc

Browse files
committed
Disable declarative syntax for in-tree builds
1 parentdd072e5 commit8fe15fc

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

‎Makefile

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -71,34 +71,22 @@ ifdef USE_PGXS
7171
PG_CONFIG=pg_config
7272
PGXS :=$(shell$(PG_CONFIG) --pgxs)
7373
VNUM :=$(shell$(PG_CONFIG) --version | awk '{print $$2}')
74-
else
75-
subdir = contrib/pg_pathman
76-
top_builddir = ../..
77-
include$(top_builddir)/src/Makefile.global
78-
endif
79-
80-
# our standard version could also use declarative syntax
81-
ifdefPGPRO_EDITION
82-
ifeq ($(PGPRO_EDITION),standard)
83-
VNUM :=$(VERSION)
84-
endif
85-
endif
8674

87-
ifdefVNUM
75+
# check for declarative syntax
8876
ifeq ($(VNUM),$(filter 10% 11%,$(VNUM)))
8977
REGRESS += pathman_declarative
9078
OBJS += src/declarative.o
9179
overridePG_CPPFLAGS += -DENABLE_DECLARATIVE
9280
endif
93-
endif
9481

95-
ifdefUSE_PGXS
9682
include$(PGXS)
9783
else
84+
subdir = contrib/pg_pathman
85+
top_builddir = ../..
86+
include$(top_builddir)/src/Makefile.global
9887
include$(top_srcdir)/contrib/contrib-global.mk
9988
endif
10089

101-
10290
$(EXTENSION)--$(EXTVERSION).sql: init.sql hash.sql range.sql
10391
cat$^>$@
10492

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp