ensure connection is closed in tutorial

From: Alvin Fan <alvincfan(at)gmail(dot)com>
To: pgsql-www(at)postgresql(dot)org
Subject: ensure connection is closed in tutorial
Date: 2015-07-09 03:43:08
Message-ID: CAHvqrmkMLfOkLXvvL4JeCAeyyq0XbraLg6m1Cq8EQz89ZwBuVA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Hello,

In the tutorial https://wiki.postgresql.org/wiki/Psycopg2_Tutorial,
shouldn't at the end of the page add a section to call conn.close()?

Reference in http://initd.org/psycopg/docs/connection.html, to ensure
the connection is closed.

Alvin

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Peter Geoghegan 2015-07-20 07:43:01 "New ODBC Driver for PostgreSQL"
Previous Message Magnus Hagander 2015-07-02 18:50:27 Re: No open CF