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

From A. Kretschmer
Subject Re: Alias for tables/columns?
Date
Msg-id 20061106110225.GF8229@a-kretschmer.de
Whole thread Raw
In response to Alias for tables/columns?  (Sandro Dentella <sandro@e-den.it>)
List pgsql-general
am  Mon, dem 06.11.2006, um 11:45:28 +0100 mailte Sandro Dentella folgendes:
> 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?

Yes, you can create VIEWS.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

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