Re: [v9.2] Fix leaky-view problem, part 2

Поиск
Список
Период
Сортировка
От Yeb Havinga
Тема Re: [v9.2] Fix leaky-view problem, part 2
Дата
Msg-id 4E267DA3.4030605@gmail.com
обсуждение исходный текст
Ответ на Re: [v9.2] Fix leaky-view problem, part 2  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Ответы Re: [v9.2] Fix leaky-view problem, part 2
Re: [v9.2] Fix leaky-view problem, part 2
Список pgsql-hackers
On 2011-07-09 09:14, Kohei KaiGai wrote:
> OK, I'll try to modify the patch according to the flag of pg_proc design.
> As long as the default of user-defined function is off, and we provide
> built-in functions
> with appropriate configurations, it seems to me the burden of DBA is
> quite limited.

A different solution to the leaky view problem could be to check access 
to a tuple at or near the heaptuple visibility level, in addition to 
adding tuple access filter conditions to the query. This would have both 
the possible performance benefits of the query rewriting solution, as 
the everything is filtered before further processing at the heaptuple 
visibility level. Fixing leaky views is not needed because they don't 
exist in this case, the code is straightforward, and there's less change 
of future security bugs by either misconfiguration of leakproof 
functions or code that might introduce another leak path.

regards,

-- 
Yeb Havinga
http://www.mgrid.net/
Mastering Medical Data



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joey Adams
Дата:
Сообщение: Re: Initial Review: JSON contrib modul was: Re: Another swing at JSON
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: [v9.1] sepgsql - userspace access vector cache