Skip to content

Instantly share code, notes, and snippets.

@jkakar
Created January 19, 2018 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkakar/741deb59992217f6222c723975449b7e to your computer and use it in GitHub Desktop.
Save jkakar/741deb59992217f6222c723975449b7e to your computer and use it in GitHub Desktop.
-- Don't rollback the entire transaction if you typo a SQL query when
-- in interactive mode.
\set ON_ERROR_ROLLBACK interactive
-- Show query timing information.
\timing
-- Include transaction information in the prompt.
\set PROMPT1 '%[%033[33;1m%]%x%[%033[0m%]%[%033[1m%]%/%[%033[0m%]%R%# '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment