From 671be61916e7438c9d7ed46a3d14e15c195bb02f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 11 Mar 2001 11:07:01 +0000 Subject: Add uninstall target to Java build. Respect default port setting in JDBC driver. Pick up version number from Makefile.global. Change installation directory to share/java/. Document. --- src/interfaces/jdbc/org/postgresql/Driver.java.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/jdbc/org/postgresql') diff --git a/src/interfaces/jdbc/org/postgresql/Driver.java.in b/src/interfaces/jdbc/org/postgresql/Driver.java.in index d7452c6752f..5d64a3f579b 100644 --- a/src/interfaces/jdbc/org/postgresql/Driver.java.in +++ b/src/interfaces/jdbc/org/postgresql/Driver.java.in @@ -351,7 +351,7 @@ public class Driver implements java.sql.Driver */ public int port() { - return Integer.parseInt(props.getProperty("PGPORT","5432")); + return Integer.parseInt(props.getProperty("PGPORT","@DEF_PGPORT@")); } /** -- cgit v1.2.3