Re: ensure connection is closed in tutorial

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvin Fan <alvincfan(at)gmail(dot)com>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: ensure connection is closed in tutorial
Date: 2015-09-09 21:48:17
Message-ID: 20150909214817.GD16463@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Wed, Jul 8, 2015 at 08:43:08PM -0700, Alvin Fan wrote:
> 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.

Uh, I don't know, but it is a wiki so you can make the correction.
Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Ioana Danes 2015-09-10 16:17:01 Error when installing the bdr extension
Previous Message Stefan Kaltenbrunner 2015-08-31 18:24:31 Re: username/password needed to download email archives