1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00

Fix C++ compile failures in headers.

Avoid using "typeid" as a parameter name in header files, since that
is a C++ keyword.  These cases were introduced recently, in 04fe805a1
and 586b98fdf.

Since I'm an incurable neatnik, also rename these parameters in the
underlying function definitions.  That's not really necessary per
project rules, but I don't like function declarations that don't
quite agree with the underlying definitions.

Per src/tools/pginclude/cpluspluscheck.
This commit is contained in:
Tom Lane
2019-01-10 14:07:01 -05:00
parent a968d54c5d
commit eaf0380ecc
4 changed files with 13 additions and 13 deletions

View File

@@ -118,7 +118,7 @@ extern bool innerrel_is_unique(PlannerInfo *root,
*/
extern Plan *set_plan_references(PlannerInfo *root, Plan *plan);
extern void record_plan_function_dependency(PlannerInfo *root, Oid funcid);
extern void record_plan_type_dependency(PlannerInfo *root, Oid typeid);
extern void record_plan_type_dependency(PlannerInfo *root, Oid typid);
extern void extract_query_dependencies(Node *query,
List **relationOids,
List **invalItems,