1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-27 22:56:53 +03:00

Fix typo in reorderbuffer.c.

Author: Zhijie Hou
Reviewed-by: Sawada Masahiko
Discussion: https://postgr.es/m/ba88bb58aaf14284abca16aec04bf279@G08CNEXMBPEKD05.g08.fujitsu.local
This commit is contained in:
Amit Kapila 2021-01-05 07:56:40 +05:30
parent 034510c820
commit 9da2224ea2

View File

@ -2119,13 +2119,13 @@ ReorderBufferProcessTXN(ReorderBuffer *rb, ReorderBufferTXN *txn,
* Mapped catalog tuple without data, emitted while * Mapped catalog tuple without data, emitted while
* catalog table was in the process of being rewritten. We * catalog table was in the process of being rewritten. We
* can fail to look up the relfilenode, because the * can fail to look up the relfilenode, because the
* relmapper has no "historic" view, in contrast to normal * relmapper has no "historic" view, in contrast to the
* the normal catalog during decoding. Thus repeated * normal catalog during decoding. Thus repeated rewrites
* rewrites can cause a lookup failure. That's OK because * can cause a lookup failure. That's OK because we do not
* we do not decode catalog changes anyway. Normally such * decode catalog changes anyway. Normally such tuples
* tuples would be skipped over below, but we can't * would be skipped over below, but we can't identify
* identify whether the table should be logically logged * whether the table should be logically logged without
* without mapping the relfilenode to the oid. * mapping the relfilenode to the oid.
*/ */
if (reloid == InvalidOid && if (reloid == InvalidOid &&
change->data.tp.newtuple == NULL && change->data.tp.newtuple == NULL &&