mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Add missing Int64GetDatum macro in dbsize.c
I accidentally missed adding this when adjusting 55fe60938 for back
patching.  This adjustment was made for 9.6 to 13. 14 and master are not
affected.
Discussion: https://postgr.es/m/CAApHDvp=twCsGAGQG=A=cqOaj4mpknPBW-EZB-sd+5ZS5gCTtA@mail.gmail.com
			
			
This commit is contained in:
		@@ -639,7 +639,8 @@ numeric_truncated_divide(Numeric n, int64 divisor)
 | 
			
		||||
	Datum		divisor_numeric;
 | 
			
		||||
	Datum		result;
 | 
			
		||||
 | 
			
		||||
	divisor_numeric = DirectFunctionCall1(int8_numeric, divisor);
 | 
			
		||||
	divisor_numeric = DirectFunctionCall1(int8_numeric,
 | 
			
		||||
										  Int64GetDatum(divisor));
 | 
			
		||||
	result = DirectFunctionCall2(numeric_div_trunc, d, divisor_numeric);
 | 
			
		||||
	return DatumGetNumeric(result);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user