diff --git a/org/postgresql/test/jdbc2/UpdateableResultTest.java b/org/postgresql/test/jdbc2/UpdateableResultTest.java
index <HASH>..<HASH> 100644
--- a/org/postgresql/test/jdbc2/UpdateableResultTest.java
+++ b/org/postgresql/test/jdbc2/UpdateableResultTest.java
@@ -256,21 +256,21 @@ public class UpdateableResultTest extends TestCase
         assertEquals(2, rs.getInt(1));
         assertEquals(string, rs.getString(2));
         assertEquals(string, rs.getString(3));
-        assertEquals(bytes, rs.getBytes(4));
+        assertTrue(Arrays.equals(bytes, rs.getBytes(4)));
 
         rs.refreshRow();
 
         assertEquals(2, rs.getInt(1));
         assertEquals(string, rs.getString(2));
         assertEquals(string, rs.getString(3));
-        assertEquals(bytes, rs.getBytes(4));
+        assertTrue(Arrays.equals(bytes, rs.getBytes(4)));
 
         rs.next();
 
         assertEquals(3, rs.getInt(1));
         assertEquals(string, rs.getString(2));
         assertEquals(string, rs.getString(3));
-        assertEquals(bytes, rs.getBytes(4));
+        assertTrue(Arrays.equals(bytes, rs.getBytes(4)));
         
         rs.close();
         stmt.close();
Ugggh, compiling is not the same as working.  Junit's assertEquals
converts things to strings which doesn't work for arrays.  Use
Arrays.equals instead.