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

Array Support Fix

From: "Greg Zoller" <gzoller(at)hotmail(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Array Support Fix
Date: 2001-08-21 20:12:20
Message-ID: F40aIj38y8iUSmREIpz00013b7c@hotmail.com (view raw or flat)
Thread:
Lists: pgsql-patches
As noted by Barry, the Array ResultSet methods should use
an Encoding scheme.  Now they do.

The Array.java file can now hopefully be included in the
snapshot.

This latest patch is gzipped to avoid my mailer's annoying
word-wrap.  Unpack to src/interfaces/java/org/posgresql
and apply with: patch -p1 < patch.txt
Patch was created for the latest (as of 8/22/01) dev snapshot.

For this go-round I did not break formatting in ResultSet
into a separate utility class because the Timestamp code
needs access to a data member 'sbuf' that seems to be
present only in jdbc2.ResultSet.  Why is this, and can it
be standardized?  Either it shouldn't be a data member
(just create a new StringBuffer ever time like jdbc1.ResultSet)
or move this member up a level to org.postgresql.ResultSet
where a utility class can use it independently of JDBC version.
Long story short... didn't touch anything here for now.

Take care
Greg

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Attachment: patch.txt.gz
Description: text/plain (1.2 KB)

Responses

pgsql-patches by date

Next:From: Mikhail TerekhovDate: 2001-08-21 20:31:45
Subject: Re: [HACKERS] Re: WIN32 errno patch
Previous:From: Bruce MomjianDate: 2001-08-21 17:14:03
Subject: Re: build fixes

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