mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Format better code for xact_decode()'s XLOG_XACT_INVALIDATIONS
This makes the code more consistent with the surroundings. Author: ChangAo Chen Reviewed-by: Ashutosh Bapat Discussion: https://postgr.es/m/CAExHW5tNTevUh58SKddTtcX3yU_5_PDSC8Mdp-Q2hc9PpZHRJg@mail.gmail.com
This commit is contained in:
		@@ -301,12 +301,13 @@ xact_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
 | 
				
			|||||||
					ReorderBufferXidSetCatalogChanges(ctx->reorder, xid,
 | 
										ReorderBufferXidSetCatalogChanges(ctx->reorder, xid,
 | 
				
			||||||
													  buf->origptr);
 | 
																		  buf->origptr);
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				else if ((!ctx->fast_forward))
 | 
									else if (!ctx->fast_forward)
 | 
				
			||||||
					ReorderBufferImmediateInvalidation(ctx->reorder,
 | 
										ReorderBufferImmediateInvalidation(ctx->reorder,
 | 
				
			||||||
													   invals->nmsgs,
 | 
																		   invals->nmsgs,
 | 
				
			||||||
													   invals->msgs);
 | 
																		   invals->msgs);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
									break;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			break;
 | 
					 | 
				
			||||||
		case XLOG_XACT_PREPARE:
 | 
							case XLOG_XACT_PREPARE:
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				xl_xact_parsed_prepare parsed;
 | 
									xl_xact_parsed_prepare parsed;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user