Commit 870ad6a
committed
Fix not-quite-right string comparison in parse_jsonb_index_flags().
This code would accept "strinX", where X is any 1-byte character,
as meaning "string". Clearly it wasn't meant to do that.
No back-patch, since this doesn't affect correct queries and
there's some tiny chance we'd break somebody's incorrect query
in a minor release.
Report and patch by Dominik Czarnota.
Discussion: https://postgr.es/m/CABEVAa1dU0mDCAfaT8WF2adVXTDsLVJy_izotg6ze_hh-cn8qQ@mail.gmail.com1 parent 74b35eb commit 870ad6a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5125 | 5125 | | |
5126 | 5126 | | |
5127 | 5127 | | |
5128 | | - | |
| 5128 | + | |
5129 | 5129 | | |
5130 | 5130 | | |
5131 | 5131 | | |
| |||
0 commit comments