diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-05-25 17:34:51 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-05-25 17:34:51 -0400 |
| commit | d3b97d1488ba868f6bab12eeaf0b9ae75fad2566 (patch) | |
| tree | c0baa7032cd63ff764b74b51524aac000b230d21 /contrib/intarray | |
| parent | 73cc7d3b240e1d46b1996382e5735a820f8bc3f7 (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 'contrib/intarray')
0 files changed, 0 insertions, 0 deletions
