Skip to content

Instantly share code, notes, and snippets.

@jjl
Last active January 4, 2016 20:49
Show Gist options
  • Save jjl/8676920 to your computer and use it in GitHub Desktop.
Save jjl/8676920 to your computer and use it in GitHub Desktop.
Options for psql \pset. I've probably forgotten 'expanded' again.
=================== =========== ==================================
Explanation Keyword Value
=================== =========== ==================================
Field alignment format unaligned, aligned, html, or latex
Field separator fieldsep separator
One field per line expanded
Rows only tuples_only
Row separator recordsep separator
Table title title title
Table border border 0, 1, or 2
Display NULL values null null_string
HTML table tags tableattr tags
Page output pager command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment