Re: pgsql: Keep pg_stat_statements' query texts in a file, not in shared me - Mailing list pgsql-committers

From Peter Geoghegan
Subject Re: pgsql: Keep pg_stat_statements' query texts in a file, not in shared me
Date
Msg-id CAM3SWZQxKVfMufAuBQzJeAjw1i_xAvRXX3kD5f=mFqHYjq7k1g@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Keep pg_stat_statements' query texts in a file, not in shared me  (KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp>)
Responses Re: pgsql: Keep pg_stat_statements' query texts in a file, not in shared me
Re: pgsql: Keep pg_stat_statements' query texts in a file, not in shared me
List pgsql-committers
On Mon, Jan 27, 2014 at 5:12 PM, KONDO Mitsumasa
<kondo.mitsumasa@lab.ntt.co.jp> wrote:
> This patch has security problem that root can easily see the statement file
> in database cluster.

By default, we always serialize statements along with their query
texts to disk on shutdown. Until May of 2012, pg_stat_statements
didn't bother unlinking on startup, and so the file with query texts
was always on the PGDATA filesystem. What's the difference?


--
Peter Geoghegan


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Keep pg_stat_statements' query texts in a file, not in shared me
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Keep pg_stat_statements' query texts in a file, not in shared me