From: | Stephen Birch <sbirch(at)ironmountainsystems(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Table names case sensitive? |
Date: | 1999-11-25 04:47:39 |
Message-ID: | 383CBF6B.993B5847@ironmountainsystems.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Having been suitable impressed by the "PostgreSQL ready for mission
critical apps" thread, I decided to bite the bullet and convert our
database from Interbase to PostgreSQL. Almost immediately I encountered
a puzzling problem. To make things easy, I am using the Borland "data
pump" on an NT machine to copy our data from Interbase to PostgreSQL.
Although the PostgreSQL tables are created correctly, the write
operations are failing. It looks like the ODBC driver is attempting to
create tables with upper case names but PostgreSQL is converting the
names to lower case. When the data pump tries to write data into
PostgreSQL, the writes fail because the tables are not found since their
names are in now lower case.
It looks like PostgreSQL is not consistent with table case conversions.
For the heck of it, I hacked postres.c to convert the the SQL strings to
lower case on the fly - this kluge made the import work correctly.
I have searched the lists and FAQs to see if the table name case
disparity is a common problem, but drew a blank.
The attempted data flow is as follows:
Interbase 4.0 (SuSE 6.1 Linux) ---> Data Pump (NT) ---> PostgreSQL(SuSE
6.1 Linux)
Any suggestions?
Yeah, I know this is a convoluted way to copy data over - if you have
any better ideas, I'm all ears!
Steve
From | Date | Subject | |
---|---|---|---|
Next Message | Kane Tao | 1999-11-25 05:25:08 | Re: [GENERAL] Table names case sensitive? |
Previous Message | John Henderson | 1999-11-25 03:36:27 | memory management |