Re: [v9.2] Fix Leaky View Problem
Kohei KaiGai <kaigai@kaigai.gr.jp>
From: Kohei KaiGai <kaigai@kaigai.gr.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Noah Misch <noah@leadboat.com>, Thom Brown <thom@linux.com>, Kohei Kaigai <Kohei.Kaigai@emea.nec.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-09-26T19:57:15Z
Lists: pgsql-hackers
2011/9/26 Tom Lane <tgl@sss.pgh.pa.us>: > Kohei KaiGai <kaigai@kaigai.gr.jp> writes: >> However, the interface to reference reloptions are designed to pull >> this information with Relation pointer, rather than lsyscache, so >> I implemented this revision with a new rte->security_barrier member. > > This approach will guarantee that we can never implement an ALTER VIEW > (or CREATE OR REPLACE VIEW) option that changes the state of the flag. > I don't think that's a good idea. > Sorry, are you saying the current (in other words, rte->security_barrier stores the state of reloption) approach is not a good idea? Thanks, -- KaiGai Kohei <kaigai@kaigai.gr.jp>