postgresql/src/backend
Bruce Momjian 95ab1e0a9d interval: round values when spilling to months
Previously spilled units greater than months were truncated to months.
Also document the spill behavior.

Reported-by: Bryn Llewelly

Discussion: https://postgr.es/m/BDAE4B56-3337-45A2-AC8A-30593849D6C0@yugabyte.com

Backpatch-through: master
2021-08-03 12:10:29 -04:00
..
access Further simplify a bit of logic in StartupXLOG(). 2021-08-03 14:16:58 +12:00
bootstrap Remove misplaced comment from AuxiliaryProcessMain(). 2021-08-01 21:10:11 -07:00
catalog Remove redundant setting of pg_attribute.attcompression 2021-07-31 07:25:27 -04:00
commands Move InRecovery and standbyState global vars to xlogutils.c. 2021-07-31 09:50:26 +03:00
executor Fix oversight in commit 1ec7fca859. 2021-08-02 12:45:00 +09:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Clarify some comments making use of leetspeak term "up2date" 2021-07-28 10:31:24 +09:00
lib Fix typo in comment 2021-04-20 14:35:16 +02:00
libpq Add more sanity checks in SASL exchanges 2021-07-10 21:45:28 +09:00
main Update copyright for 2021 2021-01-02 13:06:25 -05:00
nodes Track a Bitmapset of non-pruned partitions in RelOptInfo 2021-08-03 11:47:24 +12:00
optimizer Allow ordered partition scans in more cases 2021-08-03 12:25:52 +12:00
parser Add support for SET ACCESS METHOD in ALTER TABLE 2021-07-28 10:10:44 +09:00
partitioning Allow ordered partition scans in more cases 2021-08-03 12:25:52 +12:00
po Translation updates 2021-06-21 12:33:50 +02:00
port Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
postmaster Run checkpointer and bgwriter in crash recovery. 2021-08-02 17:32:44 +12:00
regex Fix performance issue in new regex match-all detection code. 2021-05-03 11:42:31 -04:00
replication Improve documentation for START_REPLICATION ... LOGICAL. 2021-07-30 15:12:20 -07:00
rewrite Use l*_node() family of functions where appropriate 2021-07-19 08:20:24 +02:00
snowball Update snowball 2021-02-19 08:10:15 +01:00
statistics Error message refactoring 2021-06-27 09:41:16 +02:00
storage Run checkpointer and bgwriter in crash recovery. 2021-08-02 17:32:44 +12:00
tcop Use elog, not Assert, to report failure to provide an outer snapshot. 2021-07-31 11:50:14 -04:00
tsearch Improve various places that double the size of a buffer 2021-07-01 15:29:06 +12:00
utils interval: round values when spilling to months 2021-08-03 12:10:29 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
nls.mk Translation updates 2021-05-10 14:36:21 +02:00