• A
    Add XLogIsNeeded() macro. · 20267fda
    Abhijit Subramanya 提交于
    The macro is taken from the upstream commit
    40f908bd.
    
    This commit fixes issues for CLUSTER and COPY command where the commands would
    not generate necessary XLOG records when streaming replication is enabled. With
    the correct use of XLogIsNeeded() this is now fixed.
    
    This also cleans up the XLog_CanBypassWal() and XLog_UnconvertedCanBypassWal()
    functions by replacing their usage with XLogIsNeeded().
    Signed-off-by: NTaylor Vesely <tvesely@pivotal.io>
    Signed-off-by: NAsim R P <apraveen@pivotal.io>
    20267fda
nbtsort.c 24.8 KB