Thread: pgsql/src include/tcop/fastpath.h backend/tcop ...

pgsql/src include/tcop/fastpath.h backend/tcop ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/06/01 11:45:42

Modified files:
    src/include/tcop: fastpath.h
    src/backend/tcop: fastpath.c

Log message:
    Remove fastpath.c's lame attempt at caching function lookup info across
    calls.  This has never actually cached anything, because postgres.c does
    each fastpath call as a separate transaction command, and so fastpath.c
    would always decide that its cache was outdated.  If it had worked, it
    would now be failing for calls of oldstyle functions due to dangling
    pointers in the FmgrInfo struct.  Rip it out for simplicity and bug-
    proofing.