summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/Statement.java
diff options
context:
space:
mode:
authorMarc G. Fournier1998-04-18 18:32:44 +0000
committerMarc G. Fournier1998-04-18 18:32:44 +0000
commitb542fa1a6e838d3e32857cdfbe8aeff940a91c74 (patch)
treec9a93d39e6a88df94b25cdb336b7a95a14665116 /src/interfaces/jdbc/postgresql/Statement.java
parent87d96ed6725c5a95ca618937f6fdd762b599b9e9 (diff)
From: Peter T Mount <[email protected]>REL6_3_2
This fixes a problem in ResultSet.getDate() when the column is NULL (reported by Vincent Partington <[email protected]>) 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 <[email protected]>)
Diffstat (limited to 'src/interfaces/jdbc/postgresql/Statement.java')
-rw-r--r--src/interfaces/jdbc/postgresql/Statement.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/interfaces/jdbc/postgresql/Statement.java b/src/interfaces/jdbc/postgresql/Statement.java
index 177b8189f6c..8a3332da011 100644
--- a/src/interfaces/jdbc/postgresql/Statement.java
+++ b/src/interfaces/jdbc/postgresql/Statement.java
@@ -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();
+ }
}