increase message string buffer size of watch command of psql

Ioseph Kim <pgsql-kr@postgresql.kr>

From: Ioseph Kim <pgsql-kr@postgresql.kr>
To: pgsql-hackers@postgresql.org
Date: 2016-06-12T14:55:32Z
Lists: pgsql-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.



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Improve header output from psql's \watch command.