aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-05-25 17:35:14 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-05-25 17:35:14 -0400
commit2a7c90c83bc5b668764faae643b9f3d8c652667a (patch)
tree82c160e2624d0a2f6da06dd71e32e36aa9a56fd6 /contrib/btree_gist/btree_gist.c
parent5e0f3c793a3767f38498d9cd54a3bfeeccdce6bf (diff)
downloadpostgresql-2a7c90c83bc5b668764faae643b9f3d8c652667a.tar.gz
postgresql-2a7c90c83bc5b668764faae643b9f3d8c652667a.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 'contrib/btree_gist/btree_gist.c')
0 files changed, 0 insertions, 0 deletions