aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2022-09-20 14:08:57 -0700
committerPeter Geoghegan <pg@bowt.ie>2022-09-20 14:08:57 -0700
commiteccb607e19993483e25966abae895277599f77a2 (patch)
treecf156ef5b2ed0d1959456469b3c3267b75c1380d /src/include
parenta601366a460f68472bf70c4d94c57baa0a3ed1b2 (diff)
downloadpostgresql-eccb607e19993483e25966abae895277599f77a2.tar.gz
postgresql-eccb607e19993483e25966abae895277599f77a2.zip
Fix recent cpluspluscheck issue in selfuncs.h.
Fix selfuncs.h cpluspluscheck complaint, without reintroducing a parameter name inconsistency (restore the original declaration names, and then make corresponding function definitions consistent with that). Oversight in commit a601366a. Author: Peter Geoghegan <pg@bowt.ie> Reported-By: Andres Freund <andres@anarazel.de>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/selfuncs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/selfuncs.h b/src/include/utils/selfuncs.h
index 49af4ed2ede..d485b9bfcd9 100644
--- a/src/include/utils/selfuncs.h
+++ b/src/include/utils/selfuncs.h
@@ -181,11 +181,11 @@ extern double ineq_histogram_selectivity(PlannerInfo *root,
Oid collation,
Datum constval, Oid consttype);
extern double var_eq_const(VariableStatData *vardata,
- Oid operator, Oid collation,
+ Oid oproid, Oid collation,
Datum constval, bool constisnull,
bool varonleft, bool negate);
extern double var_eq_non_const(VariableStatData *vardata,
- Oid operator, Oid collation,
+ Oid oproid, Oid collation,
Node *other,
bool varonleft, bool negate);