• Andres Freund's avatar
    Remove support for version-0 calling conventions. · 5ded4bd2
    Andres Freund authored
    The V0 convention is failure prone because we've so far assumed that a
    function is V0 if PG_FUNCTION_INFO_V1 is missing, leading to crashes
    if a function was coded against the V1 interface.  V0 doesn't allow
    proper NULL, SRF and toast handling.  V0 doesn't offer features that
    V1 doesn't.
    
    Thus remove V0 support and obsolete fmgr README contents relating to
    it.
    
    Author: Andres Freund, with contributions by Peter Eisentraut & Craig Ringer
    Reviewed-By: Peter Eisentraut, Craig Ringer
    Discussion: https://postgr.es/m/20161208213441.k3mbno4twhg2qf7g@alap3.anarazel.de
    5ded4bd2
create_function_2.source 2.46 KB