mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
Add checks for interval overflow/underflow
New checks include input, month/day/time internal adjustments, addition, subtraction, multiplication, and negation. Also adjust docs to correctly specify interval size in bytes. Report from Rok Kralj
This commit is contained in:
@@ -1587,7 +1587,7 @@ SELECT E'\\xDEADBEEF';
|
||||
</row>
|
||||
<row>
|
||||
<entry><type>interval [ <replaceable>fields</replaceable> ] [ (<replaceable>p</replaceable>) ]</type></entry>
|
||||
<entry>12 bytes</entry>
|
||||
<entry>16 bytes</entry>
|
||||
<entry>time interval</entry>
|
||||
<entry>-178000000 years</entry>
|
||||
<entry>178000000 years</entry>
|
||||
|
Reference in New Issue
Block a user