postgresql/src/bin/psql
Tom Lane 9901d8ac2e 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>
2016-06-15 19:31:13 -04:00
..
po Translation updates 2016-05-09 10:04:41 -04:00
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
command.c Use strftime("%c") to format timestamps in psql's \watch command. 2016-06-15 19:31:13 -04:00
command.h Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
common.c Suppress -Wunused-result warnings about write(), again. 2016-06-03 11:29:38 -04:00
common.h Move psql's print.c and mbprint.c into src/fe_utils. 2016-03-24 18:27:28 -04:00
copy.c Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
copy.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
create_help.pl Clean up some misplaced #includes. 2016-03-18 13:43:17 -04:00
crosstabview.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
crosstabview.h Improve coding of column-name parsing in psql's new crosstabview.c. 2016-04-12 12:52:42 -04:00
describe.c Add missing translate_columns array entry 2016-06-07 18:03:31 -04:00
describe.h Fix loose ends for SQL ACCESS METHOD objects 2016-06-07 17:59:34 -04:00
help.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
help.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
input.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
input.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
large_obj.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
large_obj.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
mainloop.c Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
mainloop.h Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
Makefile Support \crosstabview in psql 2016-04-08 20:23:18 -03:00
nls.mk psql: Add missing file to nls.mk 2016-06-07 10:58:46 -04:00
prompt.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
prompt.h Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
psqlrc.sample Improve FILES section of psql reference page. 2014-01-14 19:27:57 -05:00
psqlscanslash.h Avoid code duplication in \crosstabview. 2016-04-17 11:37:58 -04:00
psqlscanslash.l Avoid code duplication in \crosstabview. 2016-04-17 11:37:58 -04:00
settings.h Rethink \crosstabview's argument parsing logic. 2016-04-14 22:54:31 -04:00
startup.c Add psql \errverbose command to see last server error at full verbosity. 2016-04-03 12:29:55 -04:00
stringutils.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
stringutils.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
tab-complete.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
tab-complete.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
variables.c Split psql's lexer into two separate .l files for SQL and backslash cases. 2016-03-19 00:24:55 -04:00
variables.h Update copyright for 2016 2016-01-02 13:33:40 -05:00