Re: FPW compression leaks information

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: FPW compression leaks information
Дата
Msg-id CAB7nPqQvRZshTc8TWq9-F+hy62x=TcbbfCshaPYh7pJH5uo91w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: FPW compression leaks information  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Fri, Apr 10, 2015 at 1:07 AM, Stephen Frost <sfrost@snowman.net> wrote:
> * Heikki Linnakangas (hlinnaka@iki.fi) wrote:
>> On 04/09/2015 06:28 PM, Stephen Frost wrote:
>> >* Heikki Linnakangas (hlinnaka@iki.fi) wrote:
>> >>What should we do about this? Make it configurable on a per-table
>> >>basis? Disable FPW compression on system tables? Disable FPW on
>> >>tables you don't have SELECT access to? Add a warning to the docs?
>> >
>> >REVOKE EXECUTE ON FUNCTION pg_current_xlog_insert_location() FROM public;
>>
>> Yeah, that's one option. Will also have to revoke access to
>> pg_stat_replication and anything else that might indirectly give
>> away the current WAL position.
>
> Sure, though pg_stat_replication already only returns the PID and no
> details, unless you're a superuser.

For consistency we may want to have the same behavior for
pg_current_xlog_insert_location(), pg_last_xlog_receive_location(),
pg_current_xlog_location() and pg_last_xlog_replay_location().
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Making src/test/ssl more robust
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: TABLESAMPLE patch