Re: The folding of unquoted names to lower case in PostgreSQL is

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Cc: ddelorme(at)dmdelorme(dot)ca
Subject: Re: The folding of unquoted names to lower case in PostgreSQL is
Date: 2003-03-13 09:36:27
Message-ID: 3E70511B.760607F5@rodos.fzk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> I am trying to integrate MapInfo with a postgresql backend.
> Problem:
> MapInfo query uses both quoted and unquoted statements i.e.
> "MAPINFO"."MAPINFO_MAPCATALOG" and mapinfo.mapinfo_mapcatalog
> I have a schema called MAPINFO and a table called MAPINFO_MAPCATALOG.
> I need to fold unquoted names to uppercase.
>
> I really only need to change this behaviour for this schema.
>

How about creating a secondary schema as

CREATE SCHEMA mapinfo ;
CREATE VIEW mapinfo.mapinfo_mapcatalog AS
SELECT * FROM "MAPINFO"."MAPINFO_MAPCATALOG" ;

Regards, Christoph

PS Please drop a note if it works.

Browse pgsql-sql by date

  From Date Subject
Next Message Christoph Haller 2003-03-13 10:07:45 Re: Create function statement with insert statement
Previous Message Christoph Haller 2003-03-13 09:02:31 Re: Using update statements in create function statements