"David G. Johnston" <david.g.johnston@xxxxxxxxx> writes: > On Monday, May 9, 2022, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: >> If you want to pursue this question, you could start by bisecting >> to find just which commit changed it and why. > Manual history inspection of datetime.c > https://github.com/postgres/postgres/commit/7778ddc7a2d5b006edbfa69cdb44b8d8c24ec1ff Ah, yeah, that looks plausible -- the previous code allowed 6 digits YYMMDD or 8 digits YYYYMMDD, the new code allowed >= 6 digits with 2 or more YY followed by MMDD. So the specific case of YYYMMDD was rejected before and not after. Doesn't seem to have been planned, but it's not so obviously inconsistent that I'd care to break it again nine years later. By now, somebody might be depending on it. regards, tom lane