Re: increase message string buffer size of watch command of psql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: increase message string buffer size of watch command of psql
Date
Msg-id 19478.1465782775@sss.pgh.pa.us
Whole thread Raw
In response to Re: increase message string buffer size of watch command of psql  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: increase message string buffer size of watch command of psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, Jun 12, 2016 at 10:55 AM, Ioseph Kim <pgsql-kr@postgresql.kr> wrote:
>> 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.

> This was already changed in commit dea2b5960.

Well, we did part of that, but it's still using asctime().  Should we
change that to strftime(..."%c"...) to be less English-centric?
(The result seems to be the same in C locale.  pg_controldata has done
it that way for a long time, with few complaints.)  If we want to do so,
now would be the time, since 9.6 already whacked around the format
of \watch output.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: increase message string buffer size of watch command of psql
Next
From: Robert Haas
Date:
Subject: Re: Why we don't have checksums on clog files