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
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@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +
Соглашаюсь с условиями обработки персональных данных