In Blob.getBytes(long position, int length) position is an offset
authorKris Jurka <books@ejurka.com>
Sun, 8 May 2005 23:16:58 +0000 (23:16 +0000)
committerKris Jurka <books@ejurka.com>
Sun, 8 May 2005 23:16:58 +0000 (23:16 +0000)
commit43418e8702ac3d900725e17931691911031c7b66
tree05e5f30b4c2c8142e8f4833cd21cb590946bb2b7
parent0053e290d9e7b4046101b6c093710a30c2786a9f
In Blob.getBytes(long position, int length) position is an offset
starting at 1, not zero as the driver was previously doing.

Thanks to Emmanuel Bernard for the report.
src/interfaces/jdbc/org/postgresql/errors.properties
src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Blob.java
src/interfaces/jdbc/org/postgresql/test/jdbc2/BlobTest.java