[DB-SIG] pypg pure Python db driver for Postgresql

Stephane Bortzmeyer bortzmeyer at nic.fr
Tue Jul 12 13:54:25 CEST 2005


On Tue, Jul 12, 2005 at 06:41:14AM -0500,
 Randall Smith <randall at tnr.cc> wrote 
 a message of 33 lines which said:

> That's a name resolution error.

I know :-)

>  Make sure localhost is defined in your /etc/hosts

Remember that it fails even if the DSN is just "dbname=something".

And of course localhost exists:

~ % ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.022 ms


More information about the DB-SIG mailing list