aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-05-25 17:34:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-05-25 17:34:58 -0400
commit71e985a07a7ae9319c00629f319a4c30a9e32fd6 (patch)
tree799ad8663378732f9346e4db8b6a06507c0659e6 /src/backend/regex/regexec.c
parent1a93588ffcad3e4876c9610c0a35d79c7fcdeffe (diff)
downloadpostgresql-71e985a07a7ae9319c00629f319a4c30a9e32fd6.tar.gz
postgresql-71e985a07a7ae9319c00629f319a4c30a9e32fd6.zip
Fix string truncation to be multibyte-aware in text_name and bpchar_name.
Previously, casts to name could generate invalidly-encoded results. Also, make these functions match namein() more exactly, by consistently using palloc0() instead of ad-hoc zeroing code. Back-patch to all supported branches. Karl Schnaitter and Tom Lane
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions