Re: Alias for tables/columns?

From: Richard Huxton <dev(at)archonet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Alias for tables/columns?
Date: 2006-11-06 10:51:23
Message-ID: 454F13AB.9050805@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ben 2006-11-06 10:59:54 PostgreSQL in an embedded platform
Previous Message Richard Huxton 2006-11-06 10:50:23 Re: postmaster slowing down