!3401 pagehack适配release方式编译
Merge pull request !3401 from zhangxubo/master
This commit is contained in:
@ -7,6 +7,9 @@ OBJS = pagehack.o \
|
||||
PROGRAM = pagehack
|
||||
all: submake-pagecompression
|
||||
|
||||
exclude_option = -fPIC
|
||||
override CPPFLAGS := $(filter-out $(exclude_option),$(CPPFLAGS))
|
||||
|
||||
ifdef USE_PGXS
|
||||
PG_CONFIG = pg_config
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
|
@ -198,7 +198,11 @@ static int PgIndexRelTupleParserCursor = -1;
|
||||
|
||||
|
||||
/* For Assert(...) macros. */
|
||||
#ifdef USE_ASSERT_CHECKING
|
||||
THR_LOCAL bool assert_enabled = true;
|
||||
#else
|
||||
THR_LOCAL bool assert_enabled = false;
|
||||
#endif
|
||||
|
||||
/* Options */
|
||||
bool only_vm = false;
|
||||
|
Reference in New Issue
Block a user