Re: Materialized views and unique indexes

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Materialized views and unique indexes
Date: 2013-03-08 02:33:53
Message-ID: 51394E11.7040203@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> As expected, the refresh failed, but the error message is not really
> user-friendly.
> Shouldn't we output instead something like that?
> ERROR: could not refresh materialized view because of failure when
> rebuilding index"
> DETAIL: key is duplicated.

Is there a good reason to allow unique indexes (or constraints in
general) on matviews?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2013-03-08 02:55:07 Re: Materialized views and unique indexes
Previous Message Michael Paquier 2013-03-08 01:39:36 Materialized views and unique indexes