Re: [v9.2] Fix Leaky View Problem
От
Kohei KaiGai
Тема
Re: [v9.2] Fix Leaky View Problem
Дата
Msg-id
CADyhKSVimj7xG6T4rqMp9roVvPvsO+dGJZqn=hei5VjdE_SewA@mail.gmail.com
Ответ на
Re: [v9.2] Fix Leaky View Problem (Tom Lane)
Список
Дерево обсуждения
[v9.2] Fix Leaky View Problem Kohei Kaigai <Kohei.Kaigai@EMEA.NEC.COM>
Re: [v9.2] Fix Leaky View Problem Thom Brown <thom@linux.com>
Re: [v9.2] Fix Leaky View Problem Noah Misch <noah@leadboat.com>
Re: [v9.2] Fix Leaky View Problem Tom Lane <tgl@sss.pgh.pa.us>
Re: [v9.2] Fix Leaky View Problem Andrew Dunstan <andrew@dunslane.net>
Re: [v9.2] Fix Leaky View Problem Tom Lane <tgl@sss.pgh.pa.us>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Robert Haas <robertmhaas@gmail.com>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Robert Haas <robertmhaas@gmail.com>
Re: [v9.2] Fix Leaky View Problem Noah Misch <noah@leadboat.com>
Re: [v9.2] Fix Leaky View Problem Robert Haas <robertmhaas@gmail.com>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Robert Haas <robertmhaas@gmail.com>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Robert Haas <robertmhaas@gmail.com>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Tom Lane <tgl@sss.pgh.pa.us>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Tom Lane <tgl@sss.pgh.pa.us>
Re: [v9.2] Fix Leaky View Problem Robert Haas <robertmhaas@gmail.com>
Re: [v9.2] Fix Leaky View Problem Tom Lane <tgl@sss.pgh.pa.us>
Re: [v9.2] Fix Leaky View Problem Robert Haas <robertmhaas@gmail.com>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Tom Lane <tgl@sss.pgh.pa.us>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: [v9.2] Fix Leaky View Problem Thom Brown <thom@linux.com>
Re: [v9.2] Fix Leaky View Problem Robert Haas <robertmhaas@gmail.com>
Re: [v9.2] Fix Leaky View Problem "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: [v9.2] Fix Leaky View Problem Yeb Havinga <yebhavinga@gmail.com>
Re: [v9.2] Fix Leaky View Problem Kohei KaiGai <kaigai@kaigai.gr.jp>
2011/9/26 Tom Lane : > Kohei KaiGai writes: >> Sorry, are you saying the current (in other words, rte->security_barrier >> stores the state of reloption) approach is not a good idea? > > Yes. I think the same as Robert: the way to handle this is to store it > in RelOptInfo for the duration of planning, and pull it from the > catalogs during planner startup (cf plancat.c). > Hmm. If so, it seems to me worthwhile to investigate an alternative approach that stores relation-id of the view on rte->relid if rtekind is RTE_SUBQUERY and pull the "security_barrier" flag from the catalog during planner stage. Thanks, -- KaiGai Kohei
В списке pgsql-hackers по дате отправления