Re: How to create a virtual column

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Chris <chris(dot)velevitch(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to create a virtual column
Date: 2005-11-06 12:14:34
Message-ID: 20051106121433.GA20590@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Nov 06, 2005 at 02:58:15AM +0000, Chris wrote:
> How do I create a virtaul column?
>
> A virtual column is accessible like any other column except that there is no
> physical column associated with it (unless it's indexed). The data for the
> column is derived from other columns in the table. For example, in a table
> people, a persons name is the concatentation if their first, middle and surnames.

Sounds like a view to me...

have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-11-06 12:22:36 Re: sequence aliases?
Previous Message Greg Stark 2005-11-06 05:15:45 Re: sequence aliases?