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

Commitb4f96d6

Browse files
committed
Minor jsonpath fixes.
Restore missed "make clean" rule, fix misspelling.John NaylorDiscussion:https://postgr.es/m/CACPNZCt5B8jDCCGQiFoSuqmg-za_NCy4QDioBTLaNRih9+-bXg@mail.gmail.com
1 parent252b707 commitb4f96d6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/backend/utils/adt/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ OBJS = acl.o amutils.o arrayfuncs.o array_expanded.o array_selfuncs.o \
3636
jsonpath_scan.c: FLEXFLAGS = -CF -p -p
3737
jsonpath_scan.c: FLEX_NO_BACKUP=yes
3838

39-
#Force these dependencies to be known even without dependency info built:
39+
#jsonpath_scan is compiled as part of jsonpath_gram
4040
jsonpath_gram.o: jsonpath_scan.c
4141

4242
# jsonpath_gram.c and jsonpath_scan.c are in the distribution tarball,
4343
# so they are not cleaned here.
44+
cleandistcleanmaintainer-clean:
45+
rm -f lex.backup
4446

4547
like.o: like.c like_match.c
4648

‎src/backend/utils/adt/jsonpath_scan.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ parsejsonpath(const char *str, int len)
478478
jsonpath_scanner_init(str, len);
479479

480480
if (jsonpath_yyparse((void *) &parseresult) !=0)
481-
jsonpath_yyerror(NULL,"bugus input");
481+
jsonpath_yyerror(NULL,"bogus input");/* shouldn't happen */
482482

483483
jsonpath_scanner_finish();
484484

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp