mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Further cleanup for recent JSON-related commits.
Add overlooked .gitignore entries. Fix test_json_parser/Makefile to use the pgxs.mk clean rule instead of fighting it. Suppresses a warning from make, at least for me.
This commit is contained in:
parent
88620824c2
commit
2497a669ef
2
src/interfaces/ecpg/test/sql/.gitignore
vendored
2
src/interfaces/ecpg/test/sql/.gitignore
vendored
@ -48,5 +48,7 @@
|
||||
/sqlda.c
|
||||
/sqljson
|
||||
/sqljson.c
|
||||
/sqljson_jsontable
|
||||
/sqljson_jsontable.c
|
||||
/twophase
|
||||
/twophase.c
|
||||
|
@ -6,6 +6,8 @@ TAP_TESTS = 1
|
||||
|
||||
OBJS = test_json_parser_incremental.o test_json_parser_perf.o
|
||||
|
||||
EXTRA_CLEAN = test_json_parser_incremental$(X) test_json_parser_perf$(X)
|
||||
|
||||
ifdef USE_PGXS
|
||||
PG_CONFIG = pg_config
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
@ -17,8 +19,6 @@ include $(top_builddir)/src/Makefile.global
|
||||
include $(top_srcdir)/contrib/contrib-global.mk
|
||||
endif
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
all: test_json_parser_incremental$(X) test_json_parser_perf$(X)
|
||||
|
||||
%.o: $(top_srcdir)/$(subdir)/%.c
|
||||
@ -36,6 +36,3 @@ speed-check: test_json_parser_perf$(X)
|
||||
time ./test_json_parser_perf 10000 $(top_srcdir)/$(subdir)/tiny.json
|
||||
@echo Incremental parser:
|
||||
time ./test_json_parser_perf -i 10000 $(top_srcdir)/$(subdir)/tiny.json
|
||||
|
||||
clean:
|
||||
rm -rf test_json_parser_perf test_json_parser_incremental tmp_check $(OBJS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user