diff --git a/org/postgresql/jdbc3/AbstractJdbc3Statement.java b/org/postgresql/jdbc3/AbstractJdbc3Statement.java
index 66f9a09..e7fa5ca 100644
--- a/org/postgresql/jdbc3/AbstractJdbc3Statement.java
+++ b/org/postgresql/jdbc3/AbstractJdbc3Statement.java
@@ -27,7 +27,7 @@ import org.postgresql.util.GT;
  */
 public abstract class AbstractJdbc3Statement extends org.postgresql.jdbc2.AbstractJdbc2Statement
 {
-    private final int rsHoldability;
+    protected final int rsHoldability;
 
     public AbstractJdbc3Statement (AbstractJdbc3Connection c, int rsType, int rsConcurrency, int rsHoldability) throws SQLException
     {
diff --git a/org/postgresql/jdbc4/Jdbc4Statement.java b/org/postgresql/jdbc4/Jdbc4Statement.java
index d368133..b839f4b 100644
--- a/org/postgresql/jdbc4/Jdbc4Statement.java
+++ b/org/postgresql/jdbc4/Jdbc4Statement.java
@@ -32,8 +32,8 @@ class Jdbc4Statement extends AbstractJdbc4Statement implements Statement
     throws SQLException
     {
         Jdbc4ResultSet newResult = new Jdbc4ResultSet(originalQuery, this, fields, tuples, cursor,
-                                    getMaxRows(), getMaxFieldSize(),
-                                    getResultSetType(), getResultSetConcurrency(), getResultSetHoldability());
+                                    this.maxrows, this.maxfieldSize,
+                                    this.resultsettype, this.concurrency, this.rsHoldability);
         newResult.setFetchSize(getFetchSize());
         newResult.setFetchDirection(getFetchDirection());
         return newResult;
