Peter Geoghegan <p...@bowt.ie> writes: > ... It's hard to believe that the problem is > squarely with _bt_swap_posting().
IIUC, the problem is seen on a replica server but not the primary? In that case, my thoughts would run towards a bug in WAL log creation or replay, causing the index contents to be different/wrong on the replica. regards, tom lane