diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-06-15 19:31:08 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-06-15 19:31:13 -0400 |
commit | 9901d8ac2e7326f5a705341d304e7c7f0f95a1e5 (patch) | |
tree | f3fd8f3f992e2ef610e46cd0c4faa9cd820c8d58 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 12f862099d25fc70b412d56f50dcabebff8db44a (diff) | |
download | postgresql-9901d8ac2e7326f5a705341d304e7c7f0f95a1e5.tar.gz postgresql-9901d8ac2e7326f5a705341d304e7c7f0f95a1e5.zip |
Use strftime("%c") to format timestamps in psql's \watch command.
This allows the timestamps to follow local conventions (in particular,
they respond to the LC_TIME environment setting). In C locale you get
the same results as before. It seems like a good idea to do this now not
later because we already changed the format of \watch headers for 9.6.
Also, increase the buffer sizes a tad to ensure there's enough space for
translated strings.
Discussion: <20160612145532.GA22965@postgresql.kr>
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions