Fixed jdbc to correctly report that constraints are supported

Modified Files:
 	jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
This commit is contained in:
Barry Lind 2003-09-17 06:42:47 +00:00
parent 33815bf657
commit 292048f186

View File

@ -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;
}
/*