Re: CREATE SYNONYM in PostgreSQL

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: CREATE SYNONYM in PostgreSQL
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17D342C6@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на CREATE SYNONYM in PostgreSQL  (Vinayak <vinpokale@gmail.com>)
Список pgsql-general
Vinayak wrote:
> We are converting the Oracle's CREATE SYNONYM statement into PostgreSQL.
> I think to replace the SYNONYM we use search_path in PostgreSQL and the same
> thing is explained in the below post also.
> http://postgresql.1045698.n5.nabble.com/Synonyms-in-PostgreSQL-9-2-4-td5757986.html
> 
> Is there any way to automate the oracle's CREATE SYNONYM in PostgreSQL or
> can we use hook like post_parse_analyze_hook to implement this?
> Thought?

If search_path is too coarse (affects all objects in a schema), I recommend that
you use views to replace Oracle's synonyms.

Yours,
Laurenz Albe

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

Предыдущее
От: Ramesh T
Дата:
Сообщение: Re: stackbuilder
Следующее
От: Jerry Sievers
Дата:
Сообщение: Re: CREATE SYNONYM in PostgreSQL