postgresql/src/backend/utils
Tom Lane 55c3a04d60 Fix assorted breakage in to_char()'s OF format option.
In HEAD, fix incorrect field width for hours part of OF when tm_gmtoff is
negative.  This was introduced by commit 2d87eedc1d as a result of
falsely applying a pattern that's correct when + signs are omitted, which
is not the case for OF.

In 9.4, fix missing abs() call that allowed a sign to be attached to the
minutes part of OF.  This was fixed in 9.5 by 9b43d73b3f, but for
inscrutable reasons not back-patched.

In all three versions, ensure that the sign of tm_gmtoff is correctly
reported even when the GMT offset is less than 1 hour.

Add regression tests, which evidently we desperately need here.

Thomas Munro and Tom Lane, per report from David Fetter
2016-03-17 15:50:33 -04:00
..
adt Fix assorted breakage in to_char()'s OF format option. 2016-03-17 15:50:33 -04:00
cache Only try to push down foreign joins if the user mapping OIDs match. 2016-01-28 14:05:36 -05:00
error Add syslog_split_messages parameter 2016-03-16 23:21:44 -04:00
fmgr Properly install dynloader.h on MSVC builds 2016-01-19 23:30:29 -05:00
hash Update copyright for 2016 2016-01-02 13:33:40 -05:00
init Add idle_in_transaction_session_timeout. 2016-03-16 11:30:45 -04:00
mb UCS_to_EUC_JIS_2004.pl: Turn off "test" mode by default 2016-03-16 10:43:05 -04:00
misc Add syslog_split_messages parameter 2016-03-16 23:21:44 -04:00
mmgr Report memory context stats upon out-of-memory in repalloc[_huge]. 2016-03-13 00:21:07 -05:00
resowner Improve ResourceOwners' behavior for large numbers of owned objects. 2016-01-26 15:20:30 -05:00
sort Reuse abbreviated keys in ordered [set] aggregates. 2016-02-17 15:40:00 +05:30
time Fix SerializeSnapshot not to overrun the allocated space. 2016-03-04 13:48:36 -05:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Add idle_in_transaction_session_timeout. 2016-03-16 11:30:45 -04:00
Gen_dummy_probes.sed Update copyright for 2016 2016-01-02 13:33:40 -05:00
Gen_fmgrtab.pl Update copyright for 2016 2016-01-02 13:33:40 -05:00
generate-errcodes.pl Update copyright for 2016 2016-01-02 13:33:40 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Update copyright for 2016 2016-01-02 13:33:40 -05:00