1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-15 03:41:20 +03:00

Inline fmgr_faddr() for speed.

This commit is contained in:
Bruce Momjian
1998-01-31 05:22:43 +00:00
parent 726c3854cb
commit 63d5fd177a
2 changed files with 19 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.11 1998/01/15 22:31:33 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.12 1998/01/31 05:22:43 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,7 +33,8 @@
#include "commands/trigger.h"
static FmgrInfo *fmgr_pl_finfo;
/* We don't make this static so fmgr_faddr() macros can access it */
FmgrInfo *fmgr_pl_finfo;
static char *
fmgr_pl(char *arg0, ...)
@@ -248,13 +249,6 @@ fmgr_info(Oid procedureId, FmgrInfo *finfo)
}
}
func_ptr
fmgr_faddr(FmgrInfo *finfo)
{
fmgr_pl_finfo = finfo;
return finfo->fn_addr;
}
/*
* fmgr - return the value of a function call
*