Re: Materialized views and unique indexes - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Materialized views and unique indexes
Date
Msg-id 51394E11.7040203@agliodbs.com
Whole thread Raw
In response to Materialized views and unique indexes  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Materialized views and unique indexes  (Michael Paquier <michael.paquier@gmail.com>)
List 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



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Materialized views and unique indexes
Next
From: Michael Paquier
Date:
Subject: Re: Materialized views and unique indexes