Re: Permanent alias for postgresql table

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема Re: Permanent alias for postgresql table
Дата
Msg-id 20090312143002.GH24273@eddie
обсуждение исходный текст
Ответ на Re: Permanent alias for postgresql table  ("Marco Lechner" <marco.lechner@geographie.uni-freiburg.de>)
Список pgsql-sql
On Thu, Mar 12, 2009 at 03:26:47PM +0100, Marco Lechner wrote:
> Hi Mina,
>
> thanks for your answer. I thought about that, but don't
> views decrease performance, because they are "calculated"
> on access?

The query gets rewritten a bit, but it's not a big deal. A more
important concern might be that to make it so you can add / modify data
in the table, you'll need to create rules to rewrite UPDATE and INSERT
queries on that view to instead affect the underlying table.

- Josh / eggyknap

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

Предыдущее
От: "Marco Lechner"
Дата:
Сообщение: Re: Permanent alias for postgresql table
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Permanent alias for postgresql table