• Magnus Hagander's avatar
    Show shared object statistics in pg_stat_database · 77bd49ad
    Magnus Hagander authored
    This adds a row to the pg_stat_database view with datoid 0 and datname
    NULL for those objects that are not in a database. This was added
    particularly for checksums, but we were already tracking more satistics
    for these objects, just not returning it.
    
    Also add a checksum_last_failure column that holds the timestamptz of
    the last checksum failure that occurred in a database (or in a
    non-dataabase file), if any.
    
    Author: Julien Rouhaud <rjuju123@gmail.com>
    77bd49ad
basebackup.c 45.6 KB