X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=psql%2Fpsqlrc.in;h=ad37eaced6d8c98880030f2591f2820318cb9865;hp=bdf8e13ba93493af6be10917804e1998beba16a5;hb=d7e6aec0ed3bc22af199bbb4c69a22fd607b691b;hpb=5e4f35caea5a091d8683cc18df59c561c3944fd4 diff --git a/psql/psqlrc.in b/psql/psqlrc.in index bdf8e13..ad37eac 100644 --- a/psql/psqlrc.in +++ b/psql/psqlrc.in @@ -46,7 +46,9 @@ -- Add transaction status (%x) to prompt. \set PROMPT1 '%x%/%R%# ' -\set PROMPT2 :PROMPT1 +-- Remove database from second prompt to make it easily distinguishable from +-- PROMPT1. +\set PROMPT2 '%x%R%# ' -- But display the normal psql welcome message. \set QUIET off