• Tom Lane's avatar
    Clean up the API for DestReceiver objects by eliminating the assumption · c1f30733
    Tom Lane authored
    that a Portal is a useful and sufficient additional argument for
    CreateDestReceiver --- it just isn't, in most cases.  Instead formalize
    the approach of passing any needed parameters to the receiver separately.
    
    One unexpected benefit of this change is that we can declare typedef Portal
    in a less surprising location.
    
    This patch is just code rearrangement and doesn't change any functionality.
    I'll tackle the HOLD-cursor-vs-toast problem in a follow-on patch.
    c1f30733
copy.c 94.4 KB