Skip site navigation (1) Skip section navigation (2)

pgsql: In Blob.getBytes(long position, int length) position is an offset

From: jurka(at)svr1(dot)postgresql(dot)org (Kris Jurka)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In Blob.getBytes(long position, int length) position is an offset
Date: 2005-05-08 23:16:58
Message-ID: 20050508231658.45F045396C@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/interfaces/jdbc/org/postgresql:
        errors.properties (r1.25.2.3 -> r1.25.2.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/jdbc/org/postgresql/errors.properties.diff?r1=1.25.2.3&r2=1.25.2.4)
    pgsql/src/interfaces/jdbc/org/postgresql/jdbc2:
        AbstractJdbc2Blob.java (r1.3 -> r1.3.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Blob.java.diff?r1=1.3&r2=1.3.4.1)
    pgsql/src/interfaces/jdbc/org/postgresql/test/jdbc2:
        BlobTest.java (r1.9 -> r1.9.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/jdbc/org/postgresql/test/jdbc2/BlobTest.java.diff?r1=1.9&r2=1.9.2.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-05-08 23:32:37
Subject: pgsql: The release process is now generating HISTORY/INSTALL on the fly
Previous:From: Bruce MomjianDate: 2005-05-08 03:29:07
Subject: pgsql: Add encryption section to documentation.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group