Re: Permanent alias for postgresql table - Mailing list pgsql-sql

From Joshua Tolley
Subject Re: Permanent alias for postgresql table
Date
Msg-id 20090312143002.GH24273@eddie
Whole thread Raw
In response to Re: Permanent alias for postgresql table  ("Marco Lechner" <marco.lechner@geographie.uni-freiburg.de>)
List 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 by date:

Previous
From: "Marco Lechner"
Date:
Subject: Re: Permanent alias for postgresql table
Next
From: Thomas Kellerer
Date:
Subject: Re: Permanent alias for postgresql table