aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-03-07 19:25:59 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-03-07 19:25:59 -0500
commit1ed7f0e6b90a9b693895105a90d8b5b0eefbcd56 (patch)
tree91069fbf179350e89383fba0a4bc2bcb096cf90a /src/interfaces/ecpg/ecpglib/execute.c
parent9088d1b96504717fd589ff7eeacc96b6d1c08ead (diff)
downloadpostgresql-1ed7f0e6b90a9b693895105a90d8b5b0eefbcd56.tar.gz
postgresql-1ed7f0e6b90a9b693895105a90d8b5b0eefbcd56.zip
Fix indentation of \d footers for non-ASCII cases.
Multi-line "Inherits:" and "Child tables:" footers were misindented when those strings' translations involved multibyte characters, because we were using strlen() instead of an appropriate display width measurement. In passing, avoid doing gettext() more than once per loop in these places. While at it, fix pg_wcswidth(), which has been entirely broken since about 8.2, but fortunately has been unused for the same length of time. Report and patch by Sergey Burladyan (bug #6480)
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/execute.c')
0 files changed, 0 insertions, 0 deletions