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

Commit2497a66

Browse files
committed
Further cleanup for recent JSON-related commits.
Add overlooked .gitignore entries.Fix test_json_parser/Makefile to use the pgxs.mk clean ruleinstead of fighting it. Suppresses a warning from make,at least for me.
1 parent8862082 commit2497a66

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

‎src/interfaces/ecpg/test/sql/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@
4848
/sqlda.c
4949
/sqljson
5050
/sqljson.c
51+
/sqljson_jsontable
52+
/sqljson_jsontable.c
5153
/twophase
5254
/twophase.c

‎src/test/modules/test_json_parser/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ TAP_TESTS = 1
66

77
OBJS = test_json_parser_incremental.o test_json_parser_perf.o
88

9+
EXTRA_CLEAN = test_json_parser_incremental$(X) test_json_parser_perf$(X)
10+
911
ifdefUSE_PGXS
1012
PG_CONFIG = pg_config
1113
PGXS :=$(shell$(PG_CONFIG) --pgxs)
@@ -17,8 +19,6 @@ include $(top_builddir)/src/Makefile.global
1719
include$(top_srcdir)/contrib/contrib-global.mk
1820
endif
1921

20-
.PHONY: clean
21-
2222
all: test_json_parser_incremental$(X) test_json_parser_perf$(X)
2323

2424
%.o:$(top_srcdir)/$(subdir)/%.c
@@ -36,6 +36,3 @@ speed-check: test_json_parser_perf$(X)
3636
time ./test_json_parser_perf 10000$(top_srcdir)/$(subdir)/tiny.json
3737
@echo Incremental parser:
3838
time ./test_json_parser_perf -i 10000$(top_srcdir)/$(subdir)/tiny.json
39-
40-
clean:
41-
rm -rf test_json_parser_perf test_json_parser_incremental tmp_check$(OBJS)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp