↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 7.0
Historical version. PostgreSQL 7.0 has reached end of support. See the current manual.

Closing the Connection

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

db.close();
    

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.