Skip to content

Instantly share code, notes, and snippets.

@ordoghl
Created July 23, 2018 06:36
Show Gist options
  • Save ordoghl/2e11a1ae8bfeee3d8003d8997762e333 to your computer and use it in GitHub Desktop.
Save ordoghl/2e11a1ae8bfeee3d8003d8997762e333 to your computer and use it in GitHub Desktop.
psql settings
\set ON_ERROR_ROLLBACK interactive
\set COMP_KEYWORD_CASE upper
\set HISTFILE ~/.psql/history- :DBNAME
\set HISTSIZE -1
\set PROMPT1 '%[%033[33;1m%]%x%[%033[0m%]%[%033[1m%]%/%[%033[0m%]%R%# '
\x auto
\timing
\pset pager off
\pset null '¤'
\pset linestyle unicode
\pset border 2
\pset format wrapped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment