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:
@@ -419,7 +419,7 @@ public class Driver implements java.sql.Driver
|
||||
*/
|
||||
public String database()
|
||||
{
|
||||
return props.getProperty("PGDBNAME");
|
||||
return props.getProperty("PGDBNAME", "");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user