Re: JDBC bug? - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: JDBC bug?
Date
Msg-id 200111262013.fAQKDb415577@candle.pha.pa.us
Whole thread Raw
In response to JDBC bug?  (Nate Gelbard <gelbardn@tripwire.com>)
Responses Re: JDBC bug?  ("Colin Freas" <cef6@georgetown.edu>)
List 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@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

pgsql-jdbc by date:

Previous
From: "Dave Cramer"
Date:
Subject: Re: CallableStatements
Next
From: Barry Lind
Date:
Subject: Re: JDBC bug?