aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-01-07 20:36:09 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-01-07 20:36:09 -0500
commit5ba046948ed49c326d124261ae354bd9fae96489 (patch)
treeb5e4e61508887b1a85ad56538e35b82314e2000c /src/backend/utils/adt/jsonpath_exec.c
parent5db4fdc22472919f97ce83d276fb34b47c794d1f (diff)
downloadpostgresql-5ba046948ed49c326d124261ae354bd9fae96489.tar.gz
postgresql-5ba046948ed49c326d124261ae354bd9fae96489.zip
Adjust createdb TAP tests to work on recent OpenBSD.
We found last February that the error-case tests added by commit 008cf0409 failed on OpenBSD, because that platform doesn't really check locale names. At the time it seemed that that was only an issue for LC_CTYPE, but testing on a more recent version of OpenBSD shows that it's now equally lax about LC_COLLATE. Rather than dropping the LC_COLLATE test too, put back LC_CTYPE (reverting c4b0edb07), and adjust these tests to accept the different error message that we get if setlocale() doesn't reject a bogus locale name. The point of these tests is not really what the backend does with the locale name, but to show that createdb quotes funny locale names safely; so we're not losing test reliability this way. Back-patch as appropriate. Discussion: https://postgr.es/m/231373.1610058324@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions