&gt;&gt;&gt; psycopg2.connect(&quot;dbname=test&quot;)<br>&lt;connection object at 0x2a9559c128; dsn: &#39;dbname=test&#39;, closed: 0&gt;<br><br>This is just after starting up:<br><br>[postgres@niceguy bin]$ ./startup.sh<br>
[postgres@niceguy bin]$ LOG:&nbsp; database system was shut down at 2007-07-13 10:29:00 CDT<br>LOG:&nbsp; checkpoint record is at 0/BEB2E8<br>LOG:&nbsp; redo record is at 0/BEB2E8; undo record is at 0/0; shutdown TRUE<br>LOG:&nbsp; next transaction ID: 0/22600; next OID: 16943
<br>LOG:&nbsp; next MultiXactId: 1; next MultiXactOffset: 0<br>LOG:&nbsp; database system is ready<br><br><br>I can ./psql test and browse around the db, but apparently the dsn is closed :(<br><br><br>