Re: Alias for tables/columns?

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Alias for tables/columns?
Date: 2006-11-06 11:02:25
Message-ID: 20061106110225.GF8229@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2006-11-06 11:24:58 Re: Alias for tables/columns?
Previous Message Ben 2006-11-06 10:59:54 PostgreSQL in an embedded platform