From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ioseph Kim <pgsql-kr@postgresql.kr>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: increase message string buffer size of watch command of psql
Date: Tue, 14 Jun 2016 22:56:56 -0400
Message-ID: <27231.1465959416@sss.pgh.pa.us> (raw)
In-Reply-To: <5760A343.8020501@postgresql.kr>
References: <20160612145532.GA22965@postgresql.kr>
<CA+TgmoaxByA=d4F3Ld1MU+Ej7dEuDYZtMeCC1VCAkXhXeeGvTg@mail.gmail.com>
<19478.1465782775@sss.pgh.pa.us>
<20132.1465923383@sss.pgh.pa.us>
<5760A343.8020501@postgresql.kr>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Ioseph Kim <pgsql-kr@postgresql.kr> writes:
> 2016년 06월 15일 01:56에 Tom Lane 이(가) 쓴 글:
>> I take it from the vast silence that nobody particularly cares one way
>> or the other. On reflection I think that this would be a good change
>> to make, so I'll go do so unless I hear complaints soon. regards, tom
>> lane
> I propose to change from asctime() to sql current_timestamp value,
> then users will change date format with set command DateStyle.
That would require an additional SQL query each time through the loop,
which seems like undue expense. It's also not terribly friendly to the
goal of localization, I should think, given the limited number of
datestyle options and the fact that none of them actually change day or
month names to non-English choices. And it would imply changing the
timestamps from psql's timezone to the backend's. While that might have
been a good way to do it in a green field, it's not the way \watch has
worked in the past, and given the lack of complaints I'm disinclined
to change that.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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: tgl@sss.pgh.pa.us, pgsql-kr@postgresql.kr
Subject: Re: increase message string buffer size of watch command of psql
In-Reply-To: <27231.1465959416@sss.pgh.pa.us>
References: <20160612145532.GA22965@postgresql.kr> <CA+TgmoaxByA=d4F3Ld1MU+Ej7dEuDYZtMeCC1VCAkXhXeeGvTg@mail.gmail.com> <19478.1465782775@sss.pgh.pa.us> <20132.1465923383@sss.pgh.pa.us> <5760A343.8020501@postgresql.kr> <27231.1465959416@sss.pgh.pa.us>
* 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