Re: [HACKERS] I thought this was picked up ages ago?

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Peter T Mount <peter(at)retep(dot)org(dot)uk>
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL Hackers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] I thought this was picked up ages ago?
Date: 1999-05-19 13:06:24
Message-ID: 3742B750.9DDDDAFE@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> What I was trying to do was attempt to get MapInfo to use postgresql for
> storing tables using ODBC. For it to work it needs a table called
> MAPINFO_MAPCATALOG. The problem is the table/column name case. It sends
> the following query which fails:
> SELECT "SPATIALTYPE", "TABLENAME", "OWNERNAME", "SPATIALCOLUMN",
> "DB_X_LL2, "DB_Y_LL", "DB_X_UR", "DB_Y_UR", "COORDINATESYSTEM", "SYMBOL",
> "XCOLUMNNAME", "YCOLUMNNAME" FROM "MAPINFO_MAPCATALOG" WHERE TABLENAME =
> 'wds';
> Obviously it's missing the "" from the where clause...

That's interesting. It's inconsistant SQL, but would work on most
systems because they tend to convert unquoted names to upper case
internally, whereas Postgres converts them to lower case.

- Thomas

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 1999-05-19 13:25:25 Re: [HACKERS] Open 6.5 items
Previous Message ZEUGSWETTER Andreas IZ5 1999-05-19 13:01:11 Re: [HACKERS] Open 6.5 items