Re: Do we want SYNONYMS?

Поиск
Список
Период
Сортировка
От Michael C Rosenstein
Тема Re: Do we want SYNONYMS?
Дата
Msg-id 4CFD43E5.6060503@mdibl.org
обсуждение исходный текст
Ответ на Re: Do we want SYNONYMS?  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Do we want SYNONYMS?  (Dmitriy Igrishin <dmitigr@gmail.com>)
Список pgsql-general
Synonyms would be very helpful to us. We just migrated our application
from Oracle, where we used synonyms to toggle between between two
schemas:  one schema could be loaded with new data, while synonyms
pointed the web application to the live schema. Once the data load was
done, we switched the web app's synonyms to switch to the new live schema.

We've hacked a solution in Postgres using search paths, but search paths
don't work as well as synonyms when the target objects are not in the
same schema ("database" in PG-ese, I think).

/mcr


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Do we want SYNONYMS?
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: Do we want SYNONYMS?