mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Convert jsonpath's input function to report errors softly
Reviewed by Tom Lane Discussion: https://postgr.es/m/a8dc5700-c341-3ba8-0507-cc09881e6200@dunslane.net
This commit is contained in:
@@ -254,8 +254,11 @@ typedef struct JsonPathParseResult
|
||||
bool lax;
|
||||
} JsonPathParseResult;
|
||||
|
||||
extern JsonPathParseResult *parsejsonpath(const char *str, int len);
|
||||
extern JsonPathParseResult *parsejsonpath(const char *str, int len,
|
||||
struct Node *escontext);
|
||||
|
||||
extern bool jspConvertRegexFlags(uint32 xflags, int *result,
|
||||
struct Node *escontext);
|
||||
|
||||
extern int jspConvertRegexFlags(uint32 xflags);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user