From: | "Glenn Waldron" <gwaldron(at)wareonearth(dot)com> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: case problem with MS Access export |
Date: | 1999-04-15 18:56:47 |
Message-ID: | 007301be8771$b87370a0$0800a8c0@glenn.kivex.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
If anyone's interested, it turns out a good temporary fix to this
problem involves only two lines of SQL:
update pg_class set relname = lower(relname);
update pg_attribute set attname = lower(attname);
This seems to work without any side effects. enjoy- glenn
>
> I've seen this question elsewhere on the list, but no good answer.
> I am exporting large databases from MS Access to PG, but the table
> and column names come out as case-sensitive in PG and I need to
> quote them in order for PG to see them.
>
> select * from table tab1;
>
> gives an error because the table name is actually "TAB1", but SQL is
> supposed to be case-insensitive. I understand that I can quote
> everything and it will work, but this breaks tons of existing SQL
> code.
>
> Is there a better solution??? It would be nice for example, if
> pgAdmin had such an option in its MS Access migration... -glenn
>
From | Date | Subject | |
---|---|---|---|
Next Message | Adriaan Joubert | 1999-04-15 19:42:19 | Re: [GENERAL] The WWW of PostgreSQL |
Previous Message | The Hermit Hacker | 1999-04-15 17:30:25 | Re: what is the MAX postgres db size & table size? NOBODY KNOWS? |