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

Re: JDBC bug?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC bug?
Date: 2001-11-26 20:13:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
> I haven't seen any evidence in this thread of a JDBC bug.  The original 
> posting refered to calls in the DatabaseMetaData classes doing 
> toLowerCase().  This is appropriate because the DatabaseMetaData class 
> is querying the pg_* tables to get information about database objects, 
> thus since the backend stores the identifiers in lower case, therefore 
> the jdbc code needs to do a toLowerCase().  The followup below is more 

But the backend doesn't store identifiers in lowercase if they have
created mixed-case identifiers with double-quotes, right?  I am

> of a complaint on how SQL is case insensitive and if you have created 
> your objects with quoted mixed case identifiers you need to access them 
> via quoted mixed case identifiers.  I haven't seen any evidence that 
> basic SQL operations (select, insert, update, delete) have a bug in them.

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

In response to


pgsql-jdbc by date

Next:From: Stuart RobinsonDate: 2001-11-26 20:14:32
Subject: Re: CallableStatements
Previous:From: Barry LindDate: 2001-11-26 20:09:20
Subject: Re: JDBC bug?

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