aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-01-31 17:26:40 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-01-31 17:26:40 -0500
commit870ad6a59bbbd95c2dc3cfe67b07d0e079599edf (patch)
tree74f0a8f897d841d78d329de9988ac34289edb53d /src/backend/utils/adt/numutils.c
parent74b35eb468dcf353e25afd4acfc7ee2b2022d6b6 (diff)
downloadpostgresql-870ad6a59bbbd95c2dc3cfe67b07d0e079599edf.tar.gz
postgresql-870ad6a59bbbd95c2dc3cfe67b07d0e079599edf.zip
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.com
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
0 files changed, 0 insertions, 0 deletions