flightaware / Pgtcl

Tcl client side interface to PostgreSQL (libpgtcl)
https://flightaware.github.io/Pgtcl/
BSD 3-Clause "New" or "Revised" License
31 stars 10 forks source link

Nxt 593 #35

Closed resuna closed 4 years ago

resuna commented 4 years ago

Check for bad connection after error returns from libpq.

resuna commented 4 years ago

Instead of reopening the connection, it's simplified to call the existing code that eats pending notifications and generates a lost connection event.