NelsonMinar/vector-river-map — pull request #3 by notpeter (2013-06-19 02:39:23+00:00)
Title: Remove 'host=localhost' from psycopg2 connect string to force socket connection

When you specify a host, psycopg2 will connect to Postgres via a TCP connection (requires un/pw) but if you remove the hostname it uses a socket (passwordless) so it "just works" when run as root (with a standard pg_hba.conf).