Re: Alias for tables/columns?

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Alias for tables/columns?
Дата
Msg-id 20061106110225.GF8229@a-kretschmer.de
обсуждение исходный текст
Ответ на Alias for tables/columns?  (Sandro Dentella <sandro@e-den.it>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Alias for tables/columns?
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Alias for tables/columns?