Re: [PATCH] hstore: Fix parsing on Mac OS X: isspace() is locale specific
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Evan Jones <evan.jones@datadoghq.com>, pgsql-hackers@postgresql.org
Date: 2023-06-20T06:02:02Z
Lists: pgsql-hackers
On Sun, Jun 18, 2023 at 09:10:59PM -0400, Tom Lane wrote: > What have you got in mind? We should already have validated encoding > correctness before the text ever gets to hstore_in, and I'm not clear > what additional checks would be useful. I was staring at the hstore parsing code and got the impression that multi-byte character handling could be improved, but looking closer it seems that I got that wrong. Apologies for the noise. -- Michael
Commits
-
CREATE DATABASE: make LOCALE apply to all collation providers.
- a14e75eb0b6a 16.0 cited
-
hstore: Tighten key/value parsing check for whitespaces
- bbfc26d861fa 11.21 landed
- edf1de65e529 12.16 landed
- 78bf0a256d12 13.12 landed
- e0e6829459b0 14.9 landed
- 3a5222a432be 15.4 landed
- d522b05c8c1c 16.0 landed
-
Tighten checks for whitespace in functions that parse identifiers etc.
- 9ae2661fe1fe 10.0 cited