Created
July 16, 2017 22:43
-
-
Save mtarnovan/c55b5efb6d98f4030ead358287408fff to your computer and use it in GitHub Desktop.
postgres psql config https://www.citusdata.com/blog/2017/07/16/customizing-my-postgres-shell-using-psqlrc/
This file contains hidden or 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 QUIET 1 | |
\pset null '¤' | |
\set PROMPT1 '%[%033[1m%][%/] # ' | |
-- SELECT * FROM<enter>. %R shows what type of input it expects. | |
\set PROMPT2 '... > ' | |
\timing | |
\x auto | |
\set VERBOSITY verbose | |
\set HISTFILE ~/.psql_history- :DBNAME | |
\set HISTCONTROL ignoredups | |
\set COMP_KEYWORD_CASE upper | |
\unset QUIET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment