Change to DatabaseMetaData.java for the jdbc2 driver (fwd)

Started by Travis Bauerover 25 years ago7 messagesgeneral
Jump to latest
#1Travis Bauer
trbauer@cs.indiana.edu

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
----------------------------------------------------------------

Attachments:

DatabaseMetaData.java.patchtext/plain; CHARSET=US-ASCII; NAME=DatabaseMetaData.java.patchDownload+18-3
#2Zeljko Trogrlic
zeljko@technologist.com
In reply to: Travis Bauer (#1)
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:

Show quoted text

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
----------------------------------------------------------------

#3Peter T Mount
peter@retep.org.uk
In reply to: Travis Bauer (#1)
Re: Change to DatabaseMetaData.java for the jdbc2 driver (fwd)

Ok, I've added it to the list of things to check, and commit if not already
done etc...

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: "Travis Bauer" <trbauer@cs.indiana.edu>
To: <pgsql-general@postgresql.org>
Sent: Monday, September 04, 2000 4:46 PM
Subject: [GENERAL] Change to DatabaseMetaData.java for the jdbc2 driver
(fwd)

Show quoted text

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
----------------------------------------------------------------

#4Peter T Mount
peter@retep.org.uk
In reply to: Zeljko Trogrlic (#2)
Re: Change to DatabaseMetaData.java for the jdbc2 driver (fwd)

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)

Show quoted text

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
----------------------------------------------------------------

#5Travis Bauer
trbauer@cs.indiana.edu
In reply to: Zeljko Trogrlic (#2)
RE: Change to DatabaseMetaData.java for the jdbc2 driver (fwd)

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?

#6Bruce Momjian
bruce@momjian.us
In reply to: Peter T Mount (#3)
Re: Change to DatabaseMetaData.java for the jdbc2 driver (fwd)

Peter, where are we on this?

[ Charset ISO-8859-1 unsupported, converting... ]

Ok, I've added it to the list of things to check, and commit if not already
done etc...

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: "Travis Bauer" <trbauer@cs.indiana.edu>
To: <pgsql-general@postgresql.org>
Sent: Monday, September 04, 2000 4:46 PM
Subject: [GENERAL] Change to DatabaseMetaData.java for the jdbc2 driver
(fwd)

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
----------------------------------------------------------------

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#7Peter T Mount
peter@retep.org.uk
In reply to: Bruce Momjian (#6)
Re: Change to DatabaseMetaData.java for the jdbc2 driver (fwd)

On Mon, 16 Oct 2000, Bruce Momjian wrote:

Peter, where are we on this?

Did it some time ago. I've just retrieved the email from my laptop
and checked it against cvs, and it's in there.

Peter

[ Charset ISO-8859-1 unsupported, converting... ]

Ok, I've added it to the list of things to check, and commit if not already
done etc...

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: "Travis Bauer" <trbauer@cs.indiana.edu>
To: <pgsql-general@postgresql.org>
Sent: Monday, September 04, 2000 4:46 PM
Subject: [GENERAL] Change to DatabaseMetaData.java for the jdbc2 driver
(fwd)

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
----------------------------------------------------------------

-- 
Bruce Momjian                        |  http://candle.pha.pa.us
pgman@candle.pha.pa.us               |  (610) 853-3000
+  If your life is a hard drive,     |  830 Blythe Avenue
+  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

--
Peter T Mount peter@retep.org.uk http://www.retep.org.uk
PostgreSQL JDBC Driver http://www.retep.org.uk/postgres/
Java PDF Generator http://www.retep.org.uk/pdf/