Thread: Re: Change to DatabaseMetaData.java for the jdbc2 driver (fwd)
Great. I tried getTables and I found out that it returns more then just tables, without entry type. Is that fixed in your patch? At 17:46 4.9.2000 , Travis Bauer wrote: >I sent this to PATCHES last week, but it did not show up on the list. > >---------------------------------------------------------------- >Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer >---------------------------------------------------------------- > >---------- Forwarded message ---------- >Date: Thu, 31 Aug 2000 12:26:59 -0500 (EST) >From: Travis Bauer <trbauer@cs.indiana.edu> >To: pgsql-patches@postgresql.org >Subject: Change to DatabaseMetaData.java for the jdbc2 driver > >This is a patch which lets the DatabaseMetaData return the object type >when getTables(....) is called. It does not really fix any bug, but it >fills in some functionality that should be there anyway. The diff >included here is off of the CVS as of just now :) > >---------------------------------------------------------------- >Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer >---------------------------------------------------------------- >
I did have it on my list of things to rewrite getTables() completely. However if this patch works, it will save me some time. Peter -- Peter T Mount peter@retep.org.uk, me@petermount.com Homepage: http://www.retep.org.uk Contact details: http://petermount.com PostgreSQL JDBC: http://www.retep.org.uk/postgres/ Java PDF Generator: http://www.retep.org.uk/pdf/ ----- Original Message ----- From: "Zeljko Trogrlic" <zeljko@technologist.com> To: <pgsql-general@postgresql.org> Sent: Tuesday, September 05, 2000 9:53 AM Subject: Re: [GENERAL] Change to DatabaseMetaData.java for the jdbc2 driver (fwd) > Great. I tried getTables and I found out that it returns more then just > tables, without entry type. Is that fixed in your patch? > > At 17:46 4.9.2000 , Travis Bauer wrote: > >I sent this to PATCHES last week, but it did not show up on the list. > > > >---------------------------------------------------------------- > >Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer > >---------------------------------------------------------------- > > > >---------- Forwarded message ---------- > >Date: Thu, 31 Aug 2000 12:26:59 -0500 (EST) > >From: Travis Bauer <trbauer@cs.indiana.edu> > >To: pgsql-patches@postgresql.org > >Subject: Change to DatabaseMetaData.java for the jdbc2 driver > > > >This is a patch which lets the DatabaseMetaData return the object type > >when getTables(....) is called. It does not really fix any bug, but it > >fills in some functionality that should be there anyway. The diff > >included here is off of the CVS as of just now :) > > > >---------------------------------------------------------------- > >Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer > >---------------------------------------------------------------- > >
The current version of the driver returns multiple columns, but does not fill them all in. I wrote code to fill in one more column, the column indicating the type. Travis -----Original Message----- From: pgsql-general-owner@hub.org [mailto:pgsql-general-owner@hub.org]On Behalf Of Zeljko Trogrlic Sent: Tuesday, September 05, 2000 3:53 AM To: pgsql-general@postgresql.org Subject: Re: [GENERAL] Change to DatabaseMetaData.java for the jdbc2 driver (fwd) Great. I tried getTables and I found out that it returns more then just tables, without entry type. Is that fixed in your patch?