• Jan Wieck's avatar
    Added GUC variable bgwriter_flush_method controlling the action · d77b63b1
    Jan Wieck authored
    done by the background writer between writing dirty blocks and
    napping.
    
        none (default)   no action
    	sync             bgwriter calls smgrsync() causing a sync(2)
    
    A global sync() is only good on dedicated database servers, so
    more flush methods should be added in the future.
    
    Jan
    d77b63b1
bufmgr.c 55.7 KB