#5 Postgres connection close on exit

closed-accepted
nobody
None
5
2004-09-27
2004-09-24
Menno Smits
No

When a process using SQLObject with a
PostgresConnection terminated I would get one or more
of the following log entries from postgres:

[1] LOG: pq_recvbuf: unexpected EOF on client connection

This is caused because PostgresConnection doesn't clean
up it's connections to Postgres on exit. The attached
simple patch fixes this.

Discussion

  • Menno Smits
    Menno Smits
    2004-09-24

    sqlobject-0.5.2-pgclose.patch

     
  • Ian Bicking
    Ian Bicking
    2004-09-27

    Logged In: YES
    user_id=210337

    Applied to all databases for SQLObject 0.6.1

     
  • Ian Bicking
    Ian Bicking
    2004-09-27

    • status: open --> closed-accepted