Re: Alias for tables/columns? - Mailing list pgsql-general

From Richard Huxton
Subject Re: Alias for tables/columns?
Date
Msg-id 454F13AB.9050805@archonet.com
Whole thread Raw
In response to Alias for tables/columns?  (Sandro Dentella <sandro@e-den.it>)
List pgsql-general
Sandro Dentella wrote:
> Hi,
>
>    I'm migrating a system from php/mysql to django/postgresql. I'd like to
>    change the names of columns and tables but I need to retain the old ones
>    for compatibility issues (it must still work with the old interface).
>
>    Is there any possibility to call a table or a column with different names
>    -sort of a symbolic link?

Read up on views in the manuals.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: postmaster slowing down
Next
From: "A. Kretschmer"
Date:
Subject: Re: Alias for tables/columns?