aboutsummaryrefslogtreecommitdiff
path: root/src/include/regex/regex.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-10-15 13:46:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-10-15 13:46:09 -0400
commita93b3782e3358cbb1ad8d65386a2e1478b805649 (patch)
tree61f263ca10adae8163ad39e6fb6bd686e5bede75 /src/include/regex/regex.h
parent5043193b78919a1bd144563aadc2f7f726549913 (diff)
downloadpostgresql-a93b3782e3358cbb1ad8d65386a2e1478b805649.tar.gz
postgresql-a93b3782e3358cbb1ad8d65386a2e1478b805649.zip
Fix NULL handling in datum_to_jsonb().
The function failed to adhere to its specification that the "tcategory" argument should not be examined when the input value is NULL. This resulted in a crash in some cases. Per bug #13680 from Boyko Yordanov. In passing, re-pgindent some recent changes in jsonb.c, and fix a rather ungrammatical comment. Diagnosis and patch by Michael Paquier, cosmetic changes by me
Diffstat (limited to 'src/include/regex/regex.h')
0 files changed, 0 insertions, 0 deletions