This patch fixes an arrayindexoutofbounds exception that was justintroduced into the code. The fix is a fix toorg.postgresql.core.ByteArrayDim1.java.