aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-08-16 18:14:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-08-16 18:14:34 +0000
commit785cfee0313fb04713d11b23413abf9a61c89a6f (patch)
tree3e34313e84fd8e73a74ea80f536a17fce78d9a97 /src/backend/executor
parenta05a4b478d28b5a8b423b0374c3bf65d84c90a7d (diff)
downloadpostgresql-785cfee0313fb04713d11b23413abf9a61c89a6f.tar.gz
postgresql-785cfee0313fb04713d11b23413abf9a61c89a6f.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')
0 files changed, 0 insertions, 0 deletions