Re: Postgres 8.1.2, Java, JDO, and case sensitivity woes - Mailing list pgsql-general

From Roger Hand
Subject Re: Postgres 8.1.2, Java, JDO, and case sensitivity woes
Date
Msg-id DB28E9B548192448A4E8C8A3C1B1E475FC322F@sj1-exch-01.us.corp.kailea.com
Whole thread Raw
In response to Postgres 8.1.2, Java, JDO, and case sensitivity woes  (Matthew Hixson <hixson@poindextrose.org>)
Responses Re: Postgres 8.1.2, Java, JDO, and case sensitivity woes
List pgsql-general
testdb=# CREATE TABLE foo (field_one int4);
CREATE TABLE

testdb=# INSERT INTO foo VALUES (1);
INSERT 0 1
testdb=# INSERT INTO foo VALUES (2);
INSERT 0 1

testdb=# SELECT * FROM foo;
 field_one
-----------
         1
         2
(2 rows)

testdb=# SELECT * FROM FOO;
 field_one
-----------
         1
         2
(2 rows)

-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org]On Behalf Of Matthew Hixson
Sent: Friday, January 27, 2006 3:53 PM
To: Postgres General
Subject: [GENERAL] Postgres 8.1.2, Java, JDO, and case sensitivity woes


I'm trying to get a large Java application which makes use of an
Oracle JDO layer to work with Postgres.  Set aside for a moment the
discussion of whether or not that is going to work.
   What I have found is that different parts of this application are
referring to a table in all uppercase and in other parts referring to
the table all in lowercase.  Is there a way to configure Postgres so
that it does not treat "FOO" and "foo" as two different tables?
   Thanks,
    -M@

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

pgsql-general by date:

Previous
From: Matthew Hixson
Date:
Subject: Postgres 8.1.2, Java, JDO, and case sensitivity woes
Next
From: "George Pavlov"
Date:
Subject: Re: Importing Many XML Records