Re: CREATE SYNONYM suggestions - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: CREATE SYNONYM suggestions
Date
Msg-id 1027509818.50045.4.camel@jester
Whole thread Raw
In response to CREATE SYNONYM suggestions  (Marc Lavergne <mlavergne-pub@richlava.com>)
List 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 by date:

Previous
From: "Ulrich Neumann"
Date:
Subject: not released memory / garbage collector
Next
From: Tatsuo Ishii
Date:
Subject: Re: partial index on system indexes?