]> granicus.if.org Git - postgresql/commitdiff
Remove prototype for fmgr() function, which no longer exists.
authorRobert Haas <rhaas@postgresql.org>
Wed, 7 Feb 2018 13:41:14 +0000 (08:41 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 7 Feb 2018 13:42:36 +0000 (08:42 -0500)
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

src/include/fmgr.h

index 665dd76b1245608449b53378e1a8c47c9bf74b5d..69786bfca85914dc166fe0635f232c19888c1855 100644 (file)
@@ -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 */