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

Поиск
Список
Период
Сортировка
От Christoph Haller
Тема Re: The folding of unquoted names to lower case in PostgreSQL is
Дата
Msg-id 3E70511B.760607F5@rodos.fzk.de
обсуждение исходный текст
Список 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.




В списке pgsql-sql по дате отправления:

Предыдущее
От: Christoph Haller
Дата:
Сообщение: Re: Using update statements in create function statements
Следующее
От: Christoph Haller
Дата:
Сообщение: Re: Create function statement with insert statement