From: Barry Lind Date: Wed, 17 Sep 2003 06:42:47 +0000 (+0000) Subject: Fixed jdbc to correctly report that constraints are supported X-Git-Tag: REL7_4_BETA4~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=292048f186bda3a423eb6d7968db9598597f6a69;p=postgresql Fixed jdbc to correctly report that constraints are supported Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java --- diff --git a/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java b/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java index 93b3938db9..7dbcad2e4d 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java @@ -858,7 +858,7 @@ public abstract class AbstractJdbc1DatabaseMetaData /* * Is the SQL Integrity Enhancement Facility supported? - * I haven't seen this mentioned anywhere, so I guess not + * Our best guess is that this means support for constraints * * @return true if so * @exception SQLException if a database access error occurs @@ -866,8 +866,8 @@ public abstract class AbstractJdbc1DatabaseMetaData public boolean supportsIntegrityEnhancementFacility() throws SQLException { if (Driver.logDebug) - Driver.debug("supportsIntegrityEnhancementFacility false "); - return false; + Driver.debug("supportsIntegrityEnhancementFacility true "); + return true; } /*