From: Robert Haas Date: Wed, 7 Feb 2018 13:41:14 +0000 (-0500) Subject: Remove prototype for fmgr() function, which no longer exists. X-Git-Tag: REL_11_BETA1~813 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4815dfa10f4db8835b7424da22a4011b53040606;p=postgresql Remove prototype for fmgr() function, which no longer exists. Commit 5ded4bd21403e143dd3eb66b92d52732fdac1945 removed the code for this function, but neglected to remove the prototype and associated comments. Dagfinn Ilmari Mannsåker Discussion: http://postgr.es/m/d8j4lmuxjzk.fsf@dalvik.ping.uio.no --- diff --git a/src/include/fmgr.h b/src/include/fmgr.h index 665dd76b12..69786bfca8 100644 --- a/src/include/fmgr.h +++ b/src/include/fmgr.h @@ -730,19 +730,4 @@ extern PGDLLIMPORT fmgr_hook_type fmgr_hook; #define FmgrHookIsNeeded(fn_oid) \ (!needs_fmgr_hook ? false : (*needs_fmgr_hook)(fn_oid)) -/* - * !!! OLD INTERFACE !!! - * - * fmgr() is the only remaining vestige of the old-style caller support - * functions. It's no longer used anywhere in the Postgres distribution, - * but we should leave it around for a release or two to ease the transition - * for user-supplied C functions. OidFunctionCallN() replaces it for new - * code. - */ - -/* - * DEPRECATED, DO NOT USE IN NEW CODE - */ -extern char *fmgr(Oid procedureId,...); - #endif /* FMGR_H */