Skip to content

Instantly share code, notes, and snippets.

@tzaffi
Created July 22, 2023 03:57
Show Gist options
  • Save tzaffi/62843bc07237a87e6fb1228a0c24ab1d to your computer and use it in GitHub Desktop.
Save tzaffi/62843bc07237a87e6fb1228a0c24ab1d to your computer and use it in GitHub Desktop.
psql config
\set PROMPT1 '%M:%[%033[1;31m%]%>%[%033[0m%] %n@%/%R%#%x '
\pset null '[null]'
\set COMP_KEYWORD_CASE upper
\timing
\set HISTSIZE 2000
\x auto
-- for the \e command to run automatically after quitting emacs
\setenv EDITOR 'emacs -nw'
\set ECHO queries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment