Skip to content
Snippets Groups Projects
Commit 1bc92352 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Fix NUMERIC modulus to properly truncate division in computation.

Division rounding was causing incorrect results.  Test case:

	test=> SELECT 12345678901234567890 % 123;
	 ?column?
	----------
	       78
	(1 row)

Was returning -45.
parent a7660645
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment