mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Use PG_INT32_MIN instead of reiterating the constant.
Makes no difference, but it's cleaner this way. Michael Paquier
This commit is contained in:
		@@ -136,7 +136,7 @@ pg_ltoa(int32 value, char *a)
 | 
			
		||||
	 * Avoid problems with the most negative integer not being representable
 | 
			
		||||
	 * as a positive integer.
 | 
			
		||||
	 */
 | 
			
		||||
	if (value == (-2147483647 - 1))
 | 
			
		||||
	if (value == PG_INT32_MIN)
 | 
			
		||||
	{
 | 
			
		||||
		memcpy(a, "-2147483648", 12);
 | 
			
		||||
		return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user