summaryrefslogtreecommitdiff
path: root/src/include/fmgr.h
diff options
context:
space:
mode:
authorTom Lane2010-12-27 16:26:19 +0000
committerTom Lane2010-12-27 16:26:19 +0000
commit275411912d96c160547a219cb3223efa3737f90d (patch)
tree3d0131eaac2bf2462a9d9dd9264e35b152a21b30 /src/include/fmgr.h
parentc7f0038d73d82ac64e19191ff94d59208534a4ea (diff)
Fix ill-chosen use of "private" as an argument and struct field name.
"private" is a keyword in C++, so this breaks the poorly-enforced policy that header files should be include-able in C++ code. Per report from Craig Ringer and some investigation with cpluspluscheck.
Diffstat (limited to 'src/include/fmgr.h')
-rw-r--r--src/include/fmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/fmgr.h b/src/include/fmgr.h
index 99213bc1179..2813b29af5f 100644
--- a/src/include/fmgr.h
+++ b/src/include/fmgr.h
@@ -563,7 +563,7 @@ typedef enum FmgrHookEventType
typedef bool (*needs_fmgr_hook_type)(Oid fn_oid);
typedef void (*fmgr_hook_type)(FmgrHookEventType event,
- FmgrInfo *flinfo, Datum *private);
+ FmgrInfo *flinfo, Datum *arg);
extern PGDLLIMPORT needs_fmgr_hook_type needs_fmgr_hook;
extern PGDLLIMPORT fmgr_hook_type fmgr_hook;