aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/jsonpath.h
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2024-06-12 17:01:51 -0400
committerPeter Geoghegan <pg@bowt.ie>2024-06-12 17:01:51 -0400
commit6207f08f700ddc874765919202727fb0171b5403 (patch)
treea1781e4c75cf2c334976322ad823bbfaf7d94c06 /src/include/utils/jsonpath.h
parenta0fe90efef91fcd578a85a0f0c5bcab55285b1d7 (diff)
downloadpostgresql-6207f08f700ddc874765919202727fb0171b5403.tar.gz
postgresql-6207f08f700ddc874765919202727fb0171b5403.zip
Harmonize function parameter names for Postgres 17.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in a few places. These inconsistencies were all introduced during Postgres 17 development. pg_bsd_indent still has a couple of similar inconsistencies, which I (pgeoghegan) have left untouched for now. This commit was written with help from clang-tidy, by mechanically applying the same rules as similar clean-up commits (the earliest such commit was commit 035ce1fe).
Diffstat (limited to 'src/include/utils/jsonpath.h')
-rw-r--r--src/include/utils/jsonpath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/jsonpath.h b/src/include/utils/jsonpath.h
index 69c180c2e29..9d2b8533d54 100644
--- a/src/include/utils/jsonpath.h
+++ b/src/include/utils/jsonpath.h
@@ -295,7 +295,7 @@ typedef struct JsonPathVariable
/* SQL/JSON query functions */
-extern bool JsonPathExists(Datum jb, JsonPath *path, bool *error, List *vars);
+extern bool JsonPathExists(Datum jb, JsonPath *jp, bool *error, List *vars);
extern Datum JsonPathQuery(Datum jb, JsonPath *jp, JsonWrapper wrapper,
bool *empty, bool *error, List *vars,
const char *column_name);