ensure connection is closed in tutorial - Mailing list pgsql-www

From Alvin Fan
Subject ensure connection is closed in tutorial
Date
Msg-id CAHvqrmkMLfOkLXvvL4JeCAeyyq0XbraLg6m1Cq8EQz89ZwBuVA@mail.gmail.com
Whole thread Raw
Responses Re: ensure connection is closed in tutorial
List 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



pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: No open CF
Next
From: Peter Geoghegan
Date:
Subject: "New ODBC Driver for PostgreSQL"