Thread: bytea column support (Postgresql 7.1.3)
Hi all, I'm interested in implementing the column type bytea (bytes[]) support since Apache Turbine would like to use Postgresql and I might use it at work, can any one suggest an overall strategy (which files to look at like Connection.java, Field.java, etc...). Or it is going to be supported in 7.2? I'm pretty new to the Postgresql JDBC driver code except a little patch here and there.
I don't have access to 7.2 code, is bytea supported in the JDBC driver in 7.2? ----- Original Message ----- From: "Dave Cramer" <dave@fastcrypt.com> To: "'Ed Yu'" <ekyu@sc.rr.com>; "'pgsql-jdbc'" <pgsql-jdbc@postgresql.org> Sent: Monday, January 07, 2002 10:36 AM Subject: RE: [JDBC] bytea column support (Postgresql 7.1.3) > Ed, > > As far as I know, bytea is already supported. Barry has done > considerable work getting this to work. However I do know that there is > a hack that may need to be done to get it to work with Turbine. Can you > give me some details? > > Dave > > -----Original Message----- > From: pgsql-jdbc-owner@postgresql.org > [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Ed Yu > Sent: Sunday, January 06, 2002 11:37 PM > To: pgsql-jdbc > Subject: [JDBC] bytea column support (Postgresql 7.1.3) > > > Hi all, > I'm interested in implementing the column type bytea (bytes[]) support > since Apache Turbine would like to use Postgresql and I might use it at > work, can any one suggest an overall strategy (which files to look at > like Connection.java, Field.java, etc...). Or it is going to be > supported in 7.2? I'm pretty new to the Postgresql JDBC driver code > except a little patch here and there. > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html > > >
The 7.2 driver will work with a 7.1 database, let me know if it works. You can download the driver from jdbc.postgresql.org Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Ed Yu Sent: Monday, January 07, 2002 10:00 PM To: 'pgsql-jdbc' Subject: Re: [JDBC] bytea column support (Postgresql 7.1.3) I don't have access to 7.2 code, is bytea supported in the JDBC driver in 7.2? ----- Original Message ----- From: "Dave Cramer" <dave@fastcrypt.com> To: "'Ed Yu'" <ekyu@sc.rr.com>; "'pgsql-jdbc'" <pgsql-jdbc@postgresql.org> Sent: Monday, January 07, 2002 10:36 AM Subject: RE: [JDBC] bytea column support (Postgresql 7.1.3) > Ed, > > As far as I know, bytea is already supported. Barry has done > considerable work getting this to work. However I do know that there > is a hack that may need to be done to get it to work with Turbine. Can > you give me some details? > > Dave > > -----Original Message----- > From: pgsql-jdbc-owner@postgresql.org > [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Ed Yu > Sent: Sunday, January 06, 2002 11:37 PM > To: pgsql-jdbc > Subject: [JDBC] bytea column support (Postgresql 7.1.3) > > > Hi all, > I'm interested in implementing the column type bytea (bytes[]) support > since Apache Turbine would like to use Postgresql and I might use it > at work, can any one suggest an overall strategy (which files to look > at like Connection.java, Field.java, etc...). Or it is going to be > supported in 7.2? I'm pretty new to the Postgresql JDBC driver code > except a little patch here and there. > > > ---------------------------(end of > broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html > > > ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly
Ed, As far as I know, bytea is already supported. Barry has done considerable work getting this to work. However I do know that there is a hack that may need to be done to get it to work with Turbine. Can you give me some details? Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Ed Yu Sent: Sunday, January 06, 2002 11:37 PM To: pgsql-jdbc Subject: [JDBC] bytea column support (Postgresql 7.1.3) Hi all, I'm interested in implementing the column type bytea (bytes[]) support since Apache Turbine would like to use Postgresql and I might use it at work, can any one suggest an overall strategy (which files to look at like Connection.java, Field.java, etc...). Or it is going to be supported in 7.2? I'm pretty new to the Postgresql JDBC driver code except a little patch here and there. ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html
I wasn't quite sure either. Barry also told me that it was fixed for 7.2. I was reading it from the JDBC compliance page (which probably needs to be updated): http://lab.applinet.nl/postgresql-jdbc/ ----- Original Message ----- From: "Dave Cramer" <dave@fastcrypt.com> To: "'Ed Yu'" <ekyu@sc.rr.com>; "'pgsql-jdbc'" <pgsql-jdbc@postgresql.org> Sent: Monday, January 07, 2002 10:36 AM Subject: Re: [JDBC] bytea column support (Postgresql 7.1.3) > Ed, > > As far as I know, bytea is already supported. Barry has done > considerable work getting this to work. However I do know that there is > a hack that may need to be done to get it to work with Turbine. Can you > give me some details? > > Dave > > -----Original Message----- > From: pgsql-jdbc-owner@postgresql.org > [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Ed Yu > Sent: Sunday, January 06, 2002 11:37 PM > To: pgsql-jdbc > Subject: [JDBC] bytea column support (Postgresql 7.1.3) > > > Hi all, > I'm interested in implementing the column type bytea (bytes[]) support > since Apache Turbine would like to use Postgresql and I might use it at > work, can any one suggest an overall strategy (which files to look at > like Connection.java, Field.java, etc...). Or it is going to be > supported in 7.2? I'm pretty new to the Postgresql JDBC driver code > except a little patch here and there. > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html > > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org >