11th October 2018: PostgreSQL 11 RC 1 Released!
Unsupported versions: 6.4

Closing the Connection

To close the database connection, simply call the close() method to the Connection:

db.close();