1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00
This fixes a problem in ResultSet.getDate() when the column is NULL
(reported by Vincent Partington <Vincent.Partington@nmg.nl>)

And fixes a problem with Field's (ResultSet.getObject() was proving to be
slow as it repetedly send queries for oid -> name mapping - fixed by
creating a cache. (reported by Mario Ellebrecht <ellebrec@nads.de>)
This commit is contained in:
Marc G. Fournier
1998-04-18 18:32:44 +00:00
parent 87d96ed672
commit b542fa1a6e
5 changed files with 60 additions and 6 deletions

View File

@ -299,4 +299,17 @@ public class Statement implements java.sql.Statement
result = result.getNext();
return (result != null && result.reallyResultSet());
}
/**
* Returns the status message from the current Result.<p>
* This is used internally by the driver.
*
* @return status message from backend
*/
public String getResultStatusString()
{
if(result == null)
return null;
return result.getStatusString();
}
}