summaryrefslogtreecommitdiff
path: root/src/backend/access/index/indexam.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-05-25 17:35:05 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-05-25 17:35:05 -0400
commitd566ad3eb3e2ea532358123795f16fbeb5c0a46e (patch)
treea7b827e8a22e2b6ae93f632fafaa169b559c157e /src/backend/access/index/indexam.c
parent965d76f972bec5595e84a8e8567636cb3ba7a1f2 (diff)
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/access/index/indexam.c')
0 files changed, 0 insertions, 0 deletions