Re: Column Aliases WAS: Prepping to break every past release...

Поиск
Список
Период
Сортировка
От decibel
Тема Re: Column Aliases WAS: Prepping to break every past release...
Дата
Msg-id 8DE95F84-3ABA-484F-8C05-B631A6260FF7@decibel.org
обсуждение исходный текст
Ответ на Re: Column Aliases WAS: Prepping to break every past release...  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Mar 14, 2009, at 1:26 PM, Josh Berkus wrote:
>> Yes, I think aliasing (especially at the table level) would be handy.
>
> We already *have* table aliases.  They're called "views".  What we  
> don't have is column aliases.


A view is not the same as a table alias. Even if you take into  
account the new updatable views, you're still hosed if you add a  
column to the table. I see that being a lot more useful than a simple  
column alias (you're correct that we'd need to support calculated  
ones, which is indeed a lot harder).
-- 
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: hstore improvements?
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Ignore -- testing message-id on footer