I have a question/concern with the proposed patch here. The assumption
that a column of type oid is a BLOB I think is incorrect. OIDs can also
be used as a simple FK reference from one table to another since they
are unique. I think the current behavior with regards to OIDs is more
correct in mapping them to their true data type of integer.
thanks,
--Barry
Peter T Mount wrote:
>
> Quoting Bruce Momjian <pgman@candle.pha.pa.us>:
>
> > [ Charset ISO-8859-1 unsupported, converting... ]
> > > Attached is a modified version of Field.java for the JDBC driver.
> > > I think types were not so correctly defined, and that this version
> > > should be more well suiting last version of postgres.
> > >
> > > Any comment welcome,
> > > Ph.R.
> > >
> > > BTW: author e-mail in the README of jdbc in the distrib does not
> > > exist anymore ... !
>
> Not sure what address they are trying to use there...
>
> > JDBC folks, here is a patch someone submitted.
>
> I'll apply it shortly (have a few commits to make today anyhow).
>
> Peter
>
> --
> Peter Mount peter@retep.org.uk
> PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
> RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/