mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
applied patch from Oliver Jowett
This commit is contained in:
@ -271,7 +271,7 @@ public abstract class AbstractJdbc3DatabaseMetaData extends org.postgresql.jdbc2
|
|||||||
*/
|
*/
|
||||||
public int getDatabaseMajorVersion() throws SQLException
|
public int getDatabaseMajorVersion() throws SQLException
|
||||||
{
|
{
|
||||||
throw org.postgresql.Driver.notImplemented();
|
return connection.getServerMajorVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -283,7 +283,7 @@ public abstract class AbstractJdbc3DatabaseMetaData extends org.postgresql.jdbc2
|
|||||||
*/
|
*/
|
||||||
public int getDatabaseMinorVersion() throws SQLException
|
public int getDatabaseMinorVersion() throws SQLException
|
||||||
{
|
{
|
||||||
throw org.postgresql.Driver.notImplemented();
|
return connection.getServerMinorVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -296,7 +296,7 @@ public abstract class AbstractJdbc3DatabaseMetaData extends org.postgresql.jdbc2
|
|||||||
*/
|
*/
|
||||||
public int getJDBCMajorVersion() throws SQLException
|
public int getJDBCMajorVersion() throws SQLException
|
||||||
{
|
{
|
||||||
throw org.postgresql.Driver.notImplemented();
|
return 3; // This class implements JDBC 3.0
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -309,7 +309,7 @@ public abstract class AbstractJdbc3DatabaseMetaData extends org.postgresql.jdbc2
|
|||||||
*/
|
*/
|
||||||
public int getJDBCMinorVersion() throws SQLException
|
public int getJDBCMinorVersion() throws SQLException
|
||||||
{
|
{
|
||||||
throw org.postgresql.Driver.notImplemented();
|
return 0; // This class implements JDBC 3.0
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -349,7 +349,7 @@ public abstract class AbstractJdbc3DatabaseMetaData extends org.postgresql.jdbc2
|
|||||||
*/
|
*/
|
||||||
public boolean supportsStatementPooling() throws SQLException
|
public boolean supportsStatementPooling() throws SQLException
|
||||||
{
|
{
|
||||||
throw org.postgresql.Driver.notImplemented();
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user