Skip to content

Instantly share code, notes, and snippets.

@tim-tang
Created August 1, 2012 10:15
Show Gist options
  • Save tim-tang/3225637 to your computer and use it in GitHub Desktop.
Save tim-tang/3225637 to your computer and use it in GitHub Desktop.
[conf] - psql
\pset null '<NULL>'
\set HISTFILE ~/.psql_history- :HOST - :DBNAME
\set HISTSIZE 2000
\set FETCH_COUNT 1000
\timing
\set PROMPT1 '(%n@%M:%>) [%/] > '
\set PROMPT2 ''
\encoding unicode
\pset border 2
\pset format wrapped
\pset pager off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment