Re: [HACKERS] pageinspect option to forgo buffer locking?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] pageinspect option to forgo buffer locking?
Дата
Msg-id CA+TgmobHZR4GEkfNqr=rLyPS5+sf-vxSguiCEx0zWFoZNEFezA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pageinspect option to forgo buffer locking?  (Andres Freund <andres@anarazel.de>)
Ответы Re: [HACKERS] pageinspect option to forgo buffer locking?
Список pgsql-hackers
On Thu, Nov 9, 2017 at 12:58 PM, Andres Freund <andres@anarazel.de> wrote:
> You can already pass arbitrary byteas to heap_page_items(), so I don't
> see how this'd change anything exposure-wise? Or are you thinking that
> users would continually do this with actual page contents and would be
> more likely to hit edge cases than if using pg_read_binary_file() or
> such (which obviously sees an out of date page)?

More the latter.  It's not really an increase in terms of security
exposure, but it might lead to more trouble in practice.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] pageinspect option to forgo buffer locking?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Parallel Append implementation