postgresql/src/bin/psql
Michael Paquier dcdbb5a5db Add %x to default PROMPT1 and PROMPT2 in psql
%d can be used to track if the current connection is in a transaction
block or not, and adding it by default to the prompt has the advantage
to not need a modification of .psqlrc, something not possible depending
on the environment.

This discussion has happened across various sources, and there was a
strong consensus in favor of this change.

Author: Vik Fearing
Reviewed-by: Fabien Coelho
Discussion: https://postgr.es/m/09502c40-cfe1-bb29-10f9-4b3fa7b2bbb2@2ndquadrant.com
2020-02-12 13:31:14 +09:00
..
po Translation updates 2019-06-17 15:30:20 +02:00
t Improve psql's tab completion for filenames. 2020-01-23 11:07:12 -05:00
.gitignore Add basic TAP tests for psql's tab-completion logic. 2020-01-02 15:02:21 -05:00
command.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
command.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
common.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
common.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
copy.c Canonicalize some URLs 2020-02-10 20:47:50 +01:00
copy.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
create_help.pl Update copyrights for 2020 2020-01-01 12:21:45 -05:00
crosstabview.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
crosstabview.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
describe.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
describe.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
help.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
help.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
input.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
input.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
large_obj.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
large_obj.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
mainloop.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
mainloop.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Add basic TAP tests for psql's tab-completion logic. 2020-01-02 15:02:21 -05:00
nls.mk Translation updates 2019-05-20 16:00:53 +02:00
prompt.c psql: Remove one use of HAVE_UNIX_SOCKETS 2020-02-10 19:27:05 +01:00
prompt.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
psqlrc.sample Improve FILES section of psql reference page. 2014-01-14 19:27:57 -05:00
psqlscanslash.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
psqlscanslash.l Update copyrights for 2020 2020-01-01 12:21:45 -05:00
settings.h Add %x to default PROMPT1 and PROMPT2 in psql 2020-02-12 13:31:14 +09:00
startup.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
stringutils.c Improve psql's tab completion for filenames. 2020-01-23 11:07:12 -05:00
stringutils.h Improve psql's tab completion for filenames. 2020-01-23 11:07:12 -05:00
tab-complete.c Add configure probe for rl_completion_suppress_quote. 2020-01-23 18:20:57 -05:00
tab-complete.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
variables.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
variables.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00