On Mon, May 13, 2019 at 01:25:19PM +0530, Kuntal Ghosh wrote: > If we fix the issue in this way, we're certainly not going to do all > those portal,locks,memory,resource owner cleanups that are done > inside AbortTransaction() for a normal transaction ID. But, I'm not > sure how relevant those steps are since the database is anyway > shutting down.
And it is happening in bootstrap, meaning that the data folder is most likely toast, and needs to be reinitialized. TransactionLogFetch() treats bootstrap and frozen XIDs as always committed, so from this perspective it is not wrong either to complain that this transaction has already been committed when attempting to abort it. Not sure what's a more user-friendly behavior in this case though. -- Michael
signature.asc
Description: PGP signature