mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04: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:
		
							parent
							
								
									034510c820
								
							
						
					
					
						commit
						9da2224ea2
					
				| @ -2119,13 +2119,13 @@ ReorderBufferProcessTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, | ||||
| 					 * Mapped catalog tuple without data, emitted while | ||||
| 					 * catalog table was in the process of being rewritten. We | ||||
| 					 * can fail to look up the relfilenode, because the | ||||
| 					 * relmapper has no "historic" view, in contrast to normal | ||||
| 					 * the normal catalog during decoding. Thus repeated | ||||
| 					 * rewrites can cause a lookup failure. That's OK because | ||||
| 					 * we do not decode catalog changes anyway. Normally such | ||||
| 					 * tuples would be skipped over below, but we can't | ||||
| 					 * identify whether the table should be logically logged | ||||
| 					 * without mapping the relfilenode to the oid. | ||||
| 					 * relmapper has no "historic" view, in contrast to the | ||||
| 					 * normal catalog during decoding. Thus repeated rewrites | ||||
| 					 * can cause a lookup failure. That's OK because we do not | ||||
| 					 * decode catalog changes anyway. Normally such tuples | ||||
| 					 * would be skipped over below, but we can't identify | ||||
| 					 * whether the table should be logically logged without | ||||
| 					 * mapping the relfilenode to the oid. | ||||
| 					 */ | ||||
| 					if (reloid == InvalidOid && | ||||
| 						change->data.tp.newtuple == NULL && | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user