• Robert Haas's avatar
    Add txid_current_ifassigned(). · 86f31695
    Robert Haas authored
    Add a variant of txid_current() that returns NULL if no transaction ID
    is assigned.  This version can be used even on a standby server,
    although it will always return NULL since no transaction IDs can be
    assigned during recovery.
    
    Craig Ringer, per suggestion from Jim Nasby.  Reviewed by Petr Jelinek
    and by me.
    86f31695
func.sgml 699 KB