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, in04fe805a1and586b98fdf. 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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user