Project

General

Profile

Actions

Question #4163

closed

Shall we use Postgresql JDBC driver version matching Postgres version ?

Added by François ARMAND over 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
2
Category:
Architecture - Dependencies
Regression:

Description

Today (Rudder 2.8), we use the postgresql "8.4-702.jdbc4" driver version. I'm seing that there exists both jdbc4/jdbc3 version of the driver, and 8.1, 8.2, 8.3, 8.4, 9.0, 9.1... etc version of the driver.

For the JDBC part, it's easy: we need JDBC4.

But do we must ensure that the PostgreSQL driver matches the PostgreSQL DB version ? Or can we simply use the most recent driver, and assume it will work on (not too old) past Postgres version ? Or contrary, do we need to use the driver corresponding to the oldest Postgresql version we support?

Actions

Also available in: Atom PDF