]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use "true" not "TRUE" in one ICU function call.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Nov 2020 20:16:39 +0000 (15:16 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Nov 2020 20:16:39 +0000 (15:16 -0500)
commit53c7b4f6221be2800ba49840ce29cb1b5c0b1ab7
tree371a31d1bc85e6898983e3455e149b6bfc21c566
parentb7fc2593233f5bd1e651852c6d7780cef561a797
Use "true" not "TRUE" in one ICU function call.

This was evidently missed in commit 6337865f3, which generally did
s/TRUE/true/ everywhere.  It escaped notice up to now because ICU
versions before ICU 68 provided definitions of "TRUE" and "FALSE"
regardless.  With ICU 68, it fails to compile.

Per report from Condor.  Back-patch to v11 where 6337865f3 came in.
(I've not tested v10, where this call originated, but I imagine
it's fine since we defined TRUE in c.h back then.)

Discussion: https://postgr.es/m/7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com
src/backend/commands/collationcmds.c