sepgsql and materialized views - Mailing list pgsql-hackers

From Kevin Grittner
Subject sepgsql and materialized views
Date
Msg-id 1359923919.58665.YahooMailNeo@web162901.mail.bf1.yahoo.com
Whole thread Raw
Responses Re: sepgsql and materialized views  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
List pgsql-hackers
I'm hoping that someone familiar with sepgsql can review this
portion of the materialized view patch and comment on whether it is
the best approach for dealing with the integration of these two
features.  Basically, the patch as it stands treats a materialized
view as a table for purposes of sepgsql labels.  I initially
invented new lables, but Robert suggested that this would make
materialized views unusable in an SE environment until the
corresponding labels were added at the OS level.  It seems sane to
me because a materialized view exists on disk the same as a table,
but is populated differently -- from a view-like rule.

The portion of the patch which affects the contrib/sepgsql/ tree is
attached.

Thoughts?

-Kevin
Attachment

pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Re: PATCH: Split stats file per database WAS: autovacuum stress-testing our system
Next
From: Jeff Janes
Date:
Subject: Re: PATCH: Split stats file per database WAS: autovacuum stress-testing our system