Re: PostgreSQL Top 10 Wishlist - Mailing list pgsql-general

From Aly Dharshi
Subject Re: PostgreSQL Top 10 Wishlist
Date
Msg-id 43C7E497.5040301@telus.net
Whole thread Raw
In response to Re: PostgreSQL Top 10 Wishlist  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: PostgreSQL Top 10 Wishlist  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: PostgreSQL Top 10 Wishlist  (Jaime Casanova <systemguards@gmail.com>)
List pgsql-general
>
>> 10.
>> Or an alternative to views where tables can be defined with virtual
>> fields which point to functions. So for example I can say:
>>           SELECT balance, name FROM customers WHERE balance < 0;
>> ...where balance actually performs a behind the scenes JOIN against a
>> transactions table and totals the customers credits and debits. I
>> realize views can do this but for adding a single dynamic field they
>> are cumbersome and correct me if I'm wrong but I don't think you can
>> UPDATE against a view.
>
> You are wrong, you can make updatable views.

    Yes you can but not out of the box. You have to write some rules to make this
go, isn't it ?

    Aly.

--
Aly S.P Dharshi
aly.dharshi@telus.net

     "A good speech is like a good dress
      that's short enough to be interesting
      and long enough to cover the subject"

pgsql-general by date:

Previous
From: "Raymond O'Donnell"
Date:
Subject: Temporary tables
Next
From: Aly Dharshi
Date:
Subject: Re: Plans for 8.2?