Permalink
Browse files

Use best avilable output format for postgres

  • Loading branch information...
1 parent c019042 commit 61334a7faaedc6072a8d919f7b4d5c89f9261a5d Gabe Berke-Williams committed Feb 14, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 psqlrc
View
6 psqlrc
@@ -1,6 +1,12 @@
-- vim: ft=sql
+
+-- http://craigkerstiens.com/2013/02/13/How-I-Work-With-Postgres/
+
-- http://www.postgresql.org/docs/8.3/static/app-psql.html
\pset null 'NULL'
-- http://www.postgresql.org/docs/8.3/static/app-psql.html#APP-PSQL-PROMPTING
\set PROMPT1 '%[%033[1;33;42m%]%R %/%[%033[0m%] %[%033[0;34m%]>%[%033[0m%] '
+
+-- Use best available output format
+\x auto

0 comments on commit 61334a7

Please sign in to comment.