pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ioseph Kim <pgsql-kr@postgresql.kr>
To: pgsql-hackers@postgresql.org
Subject: increase message string buffer size of watch command of psql
Date: Sun, 12 Jun 2016 23:55:32 +0900
Message-ID: <20160612145532.GA22965@postgresql.kr> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Hello.
In po.ko (korean message) at psql 
#: command.c:2971
#, c-format
msgid "Watch every %lds\t%s"
msgstr "%ld초 간격으로 지켜보기\t%s"

this message string is a cut string, because buffer size is small.
At line 2946 in src/bin/psql/command.c 
char            title[50];

size of message string for korean is over 50 bytes.
(at least 80 columns terminal for common)

Increase size of this title, please.
50 bytes is so small for multi language.

And. I suggest that date string might be local language,
or current_timestamp string.

Regards, Ioseph.



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (9+ messages)  latest in thread

Message-ID: <20160612145532.GA22965@postgresql.kr>
Permalink:  ../20160612145532.GA22965@postgresql.kr/
Also on:    postgresql.org/message-id/20160612145532.GA22965@postgresql.kr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: pgsql-kr@postgresql.kr
  Subject: Re: increase message string buffer size of watch command of psql
  In-Reply-To: <20160612145532.GA22965@postgresql.kr>
  References: <20160612145532.GA22965@postgresql.kr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox