Skip to content

Commit d75de4d

Browse files
committed
postgres: multiline, show transaction status in psql prompt
1 parent f27b4c3 commit d75de4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.psqlrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
\set COMP_KEYWORD_CASE preserve-lower
77

88
-- Reference: https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-PROMPTING
9-
\set PROMPT1 '%n@%m %~%R%# '
10-
\set PROMPT2 '%R %# '
9+
\set PROMPT1 '%n@%m %~ %x\n%R%# '
10+
\set PROMPT2 '%R%# '

0 commit comments

Comments
 (0)