mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Fixed jdbc to correctly report that constraints are supported
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
This commit is contained in:
parent
33815bf657
commit
292048f186
@ -858,7 +858,7 @@ public abstract class AbstractJdbc1DatabaseMetaData
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Is the SQL Integrity Enhancement Facility supported?
|
* 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
|
* @return true if so
|
||||||
* @exception SQLException if a database access error occurs
|
* @exception SQLException if a database access error occurs
|
||||||
@ -866,8 +866,8 @@ public abstract class AbstractJdbc1DatabaseMetaData
|
|||||||
public boolean supportsIntegrityEnhancementFacility() throws SQLException
|
public boolean supportsIntegrityEnhancementFacility() throws SQLException
|
||||||
{
|
{
|
||||||
if (Driver.logDebug)
|
if (Driver.logDebug)
|
||||||
Driver.debug("supportsIntegrityEnhancementFacility false ");
|
Driver.debug("supportsIntegrityEnhancementFacility true ");
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user