Created
August 3, 2014 06:47
-
-
Save nimolix/12f0a2d2b1edd6a6afd0 to your computer and use it in GitHub Desktop.
My .psqlrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- \set PROMPT1 '%n@%m %/%R%x%# ' | |
-- \set PROMPT2 '%n@%m %/%R%x%# ' | |
\set PROMPT1 '%M:%[%033[1;31m%]%>%[%033[0m%] %n@%[%033[1;32m%]%/%[%033[0m%]%R%#%x ' | |
\set PROMPT2 '%M %n@%[%033[1;32m%]%/%[%033[0m%]%R %# ' | |
-- \set AUTOCOMMIT off | |
\pset null '[null]' | |
\set COMP_KEYWORD_CASE upper | |
\set ON_ERROR_ROLLBACK interactive | |
-- \set VERBOSITY verbose | |
\set version 'SELECT version();' | |
\set extensions 'select * from pg_available_extensions;' | |
\encoding UNICODE | |
\timing | |
\x auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment