"Qingqing Zhou" <zhouqq@xxxxxxxxxxxxxx> writes: > BTW: I just realized that there is another (better) way to do so is to > enable WAL_DEBUG in xlog.h and SET XLOG_DEBUG=true. And that's why we don't > have much error message in xlog redo. That was probably Vadim's original reasoning for not being very verbose in the redo routines' various PANIC messages. But for failures in the field it'd be awfully nice to be able to see this info from a standard build, so I'm thinking we should improve the elog messages. If you feel like creating a patch I'll be glad to apply it ... regards, tom lane