summaryrefslogtreecommitdiff
path: root/src/backend/utils/init/miscinit.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-16 00:06:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-16 00:06:37 +0000
commit61f781854c6a64a0ac00a543387adec3839402e4 (patch)
tree17203133acb777c88aa8a08c599cad9d8124064c /src/backend/utils/init/miscinit.c
parentc358483c51970f723c4bd0ab6e891080b79751ab (diff)
Fix psql's copy of utf2ucs() to match the backend's copy exactly;
in particular, propagate a fix in the test to see whether a UTF8 character has length 4 bytes. This is likely of little real-world consequence because 5-or-more-byte UTF8 sequences are not supported by Postgres nor seen anywhere in the wild, but still we may as well get it right. Problem found by Joseph Adams. Bug is aboriginal, so back-patch all the way.
Diffstat (limited to 'src/backend/utils/init/miscinit.c')
0 files changed, 0 insertions, 0 deletions