1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Use A psqlrc File For Common Settings as a postgres til.

This commit is contained in:
jbranchaud
2015-11-12 18:27:50 -06:00
parent 405d3bbce5
commit f8374d6d7e
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# Use A psqlrc File For Common Settings
There are a handful of settings that I inevitably turn on or configure each
time I open up a `psql` session. I can save myself a little time and sanity
by configuring these things in a `.psqlrc` dotfile that is located in my
home directory. Here is what my `~/.psqlrc` file currently looks like:
```
\x auto
\timing
\pset null 'Ø'
```