1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

Changed QueryExecutor.java to correctly read responses from the backend.

Fixed NPE when database name was not passed on the jdbc connection URL
Fixed Connection.isClosed() to not hit the DB for every call
This commit is contained in:
Barry Lind
2002-03-26 05:52:50 +00:00
parent af3c380158
commit ef7d791074
6 changed files with 670 additions and 981 deletions

View File

@@ -419,7 +419,7 @@ public class Driver implements java.sql.Driver
*/
public String database()
{
return props.getProperty("PGDBNAME");
return props.getProperty("PGDBNAME", "");
}
/*