postgresql/src/backend
Tom Lane 7a9fef2990 Fix an oversight in commit 4c70098ff.
I had supposed that the from_char_seq_search() call sites were
all passing the constant arrays you'd expect them to pass ...
but on looking closer, the one for DY format was passing the
days[] array not days_short[].  This accidentally worked because
the day abbreviations in English are all the same as the first
three letters of the full day names.  However, once we took out
the "maximum comparison length" logic, it stopped working.

As penance for that oversight, add regression test cases covering
this, as well as every other switch case in DCH_from_char() that
was not reached according to the code coverage report.

Also, fold the DCH_RM and DCH_rm cases into one --- now that
seq_search is case independent, there's no need to pass different
comparison arrays for those cases.

Back-patch, as the previous commit was.
2020-01-23 16:15:32 -05:00
..
access Fix crash in BRIN inclusion op functions, due to missing datum copy. 2020-01-20 10:36:47 +02:00
bootstrap Message wording and pluralization improvements 2018-05-17 23:05:27 -04:00
catalog Fix concurrent indexing operations with temporary tables 2020-01-22 09:49:28 +09:00
commands Fix concurrent indexing operations with temporary tables 2020-01-22 09:49:28 +09:00
executor Fix edge case leading to agg transitions skipping ExecAggTransReparent() calls. 2020-01-20 23:29:38 -08:00
foreign Remove bogus "extern" annotations on function definitions. 2018-02-19 12:07:44 -05:00
jit Don't rely on llvm::make_unique. 2019-08-25 14:46:55 +12:00
lib Rename rbtree.c functions to use "rbt" prefix not "rb" prefix. 2018-11-06 13:25:24 -05:00
libpq Avoid downcasing/truncation of RADIUS authentication parameters. 2019-11-13 13:41:04 -05:00
main Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Selectively include window frames in expression walks/mutates. 2019-10-03 11:14:30 +01:00
optimizer Fix typo in comment. 2019-11-27 16:00:48 +09:00
parser Require the schema qualification in pg_temp.type_name(arg). 2019-08-05 07:48:45 -07:00
partitioning Remove extra parenthesis from comment. 2019-12-12 15:45:02 +09:00
po Translation updates 2019-11-11 10:50:22 +01:00
port Fix race condition in our Windows signal emulation. 2019-12-09 15:03:51 -05:00
postmaster Clean up properly error_context_stack in autovacuum worker on exception 2019-10-23 10:25:50 +09:00
regex Fix misoptimization of "{1,1}" quantifiers in regular expressions. 2019-05-12 18:53:40 -04:00
replication Set ReorderBufferTXN->final_lsn more eagerly 2020-01-17 18:00:39 -03:00
rewrite Make rewriter prevent auto-updates on views with conditional INSTEAD rules. 2020-01-14 09:50:51 +00:00
snowball Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
statistics Make error logging in extended statistics more consistent 2019-05-30 17:06:21 +02:00
storage Maintain valid md.c state when FileClose() fails. 2020-01-10 18:31:26 -08:00
tcop Stabilize NOTIFY behavior by transmitting notifies before ReadyForQuery. 2019-11-24 14:42:59 -05:00
tsearch Suppress warning from older compilers. 2019-11-03 16:10:45 -05:00
utils Fix an oversight in commit 4c70098ff. 2020-01-23 16:15:32 -05: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 Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
nls.mk Translation updates 2018-09-17 08:40:36 +02:00