Re: CREATE SYNONYM suggestions

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: CREATE SYNONYM suggestions
Дата
Msg-id 1027509818.50045.4.camel@jester
обсуждение исходный текст
Ответ на CREATE SYNONYM suggestions  (Marc Lavergne <mlavergne-pub@richlava.com>)
Список pgsql-hackers
On Wed, 2002-07-24 at 02:22, Marc Lavergne wrote:
> I have a need for relation synonyms in PostgreSQL. I don't see it in 
> 7.2.1 but the catalog seems to be able to support it more or less.
> 
> Here's what I intend to do:
> 
> 1) Create a duplicate record in pg_class for the base table information 
> but with the relname set to the synonym name.

This will eventually cause a problem when the file oid changes and the
old one gets removed.  Cluster is one of those commands that will do
that.

Other than that, any table changes won't be propagated -- but you
already mentioned that.



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

Предыдущее
От: "Ulrich Neumann"
Дата:
Сообщение: not released memory / garbage collector
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: partial index on system indexes?