diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-16 18:14:39 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-16 18:14:39 +0000 |
commit | ef75f74f4c6063e6feba503510d3cdb4c24992eb (patch) | |
tree | fb23d6fecc6fedd70ad04fa4c3a79d97a21706d7 /src/backend/executor/nodeIndexscan.c | |
parent | 08d1d6176989153efd68d4db1e4755e74977bab7 (diff) | |
download | postgresql-ef75f74f4c6063e6feba503510d3cdb4c24992eb.tar.gz postgresql-ef75f74f4c6063e6feba503510d3cdb4c24992eb.zip |
Fix incorrect encoding-aware name truncation in makeArrayTypeName().
truncate_identifier won't do anything if the passed-in strlen is already
less than NAMEDATALEN, which it always would be given the strlcpy usage.
This has been broken since the arrays-of-composite-types code went in.
Arguably truncate_identifier is suffering from excessive optimization
and should always process the string, but for the moment I'll take the
more localized patch.
Per bug #4987.
Diffstat (limited to 'src/backend/executor/nodeIndexscan.c')
0 files changed, 0 insertions, 0 deletions