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: 200111262013.fAQKDb415577@candle.pha.pa.us (view raw or flat)
Thread:
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
confused.


> 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                        |  http://candle.pha.pa.us
  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

Responses

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-2014 The PostgreSQL Global Development Group