fix parallel decoding visibility bug

Offering: openGaussDev

More detail: parallel decoding fix physical addressing info bug.

Match-id-491e37c4587a09f855ba3022206f5aaae7a8831f
This commit is contained in:
openGaussDev
2022-03-03 22:00:35 +08:00
committed by yanghao
parent f602677e45
commit b6fb01e80e
2 changed files with 5 additions and 5 deletions

View File

@ -2456,7 +2456,7 @@ void RelationInitPhysicalAddr(Relation relation)
* tables and on user tables declared as additional catalog
* tables.
*/
if (HistoricSnapshotActive() && RelationIsAccessibleInLogicalDecoding(relation) && IsTransactionState()) {
if (HistoricSnapshotActive() && RelationIsAccessibleInLogicalDecoding(relation)) {
HeapTuple phys_tuple;
Form_pg_class physrel;