mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-04 00:02:52 -05:00 
			
		
		
		
	Remove trailing commas in enums.
These aren't valid C89. Found thanks to gcc's -Wc90-c99-compat. These exist in differing places in most supported branches.
This commit is contained in:
		
							parent
							
								
									7b16781228
								
							
						
					
					
						commit
						533cd2303a
					
				@ -119,7 +119,7 @@ typedef enum
 | 
			
		||||
{
 | 
			
		||||
	CEOUC_WAIT,
 | 
			
		||||
	CEOUC_NOWAIT,
 | 
			
		||||
	CEOUC_LIVELOCK_PREVENTING_WAIT,
 | 
			
		||||
	CEOUC_LIVELOCK_PREVENTING_WAIT
 | 
			
		||||
} CEOUC_WAIT_MODE;
 | 
			
		||||
 | 
			
		||||
static bool check_exclusion_or_unique_constraint(Relation heap, Relation index,
 | 
			
		||||
 | 
			
		||||
@ -252,7 +252,7 @@ typedef enum
 | 
			
		||||
{
 | 
			
		||||
	RECOVERY_TARGET_ACTION_PAUSE,
 | 
			
		||||
	RECOVERY_TARGET_ACTION_PROMOTE,
 | 
			
		||||
	RECOVERY_TARGET_ACTION_SHUTDOWN,
 | 
			
		||||
	RECOVERY_TARGET_ACTION_SHUTDOWN
 | 
			
		||||
} RecoveryTargetAction;
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 | 
			
		||||
@ -718,7 +718,7 @@ typedef enum WaitClass
 | 
			
		||||
typedef enum ProgressCommandType
 | 
			
		||||
{
 | 
			
		||||
	PROGRESS_COMMAND_INVALID,
 | 
			
		||||
	PROGRESS_COMMAND_VACUUM,
 | 
			
		||||
	PROGRESS_COMMAND_VACUUM
 | 
			
		||||
}	ProgressCommandType;
 | 
			
		||||
 | 
			
		||||
#define PGSTAT_NUM_PROGRESS_PARAM	10
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user