Re: views, queries, and locks - Mailing list pgsql-general

From Tom Lane
Subject Re: views, queries, and locks
Date
Msg-id 24659.1333548077@sss.pgh.pa.us
Whole thread Raw
In response to Re: views, queries, and locks  (Jon Nelson <jnelson+pgsql@jamponi.net>)
Responses Re: views, queries, and locks  (Jon Nelson <jnelson+pgsql@jamponi.net>)
List pgsql-general
Jon Nelson <jnelson+pgsql@jamponi.net> writes:
> I need to have something table-like from the client's perspective for
> a bunch of reasons.
> For now, assume that I want to keep using the view and that I'd like
> to find better ways to address my concerns.

Why aren't you using a standard partitioned table, cf
http://www.postgresql.org/docs/9.1/static/ddl-partitioning.html

The stuff associated with table inheritance is actually designed for the
use-case of adding and dropping child tables, and we might consider any
problems therein as something to be fixed.  Whereas the fact that
changing a view locks it is unlikely to change.

            regards, tom lane

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: views, queries, and locks
Next
From: Vincas Dargis
Date:
Subject: