From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted
Date: Fri, 9 Sep 2022 00:12:49 -0400
Message-ID: <14c7c00e-4812-f7e1-13fa-92a6faafed59@gmail.com> (raw)
In-Reply-To: <A4B1FFC8-7B76-4887-B564-38525E26D944@easesoftware.com>
References: <12702.1662694970@sss.pgh.pa.us>
<A4B1FFC8-7B76-4887-B564-38525E26D944@easesoftware.com>
On 9/9/22 00:08, Perry Smith wrote:
> The data directory is outside so it is persistent. The pg_stat_tmp is inside the data directory.
Ah, that's the reason. Docker daemon runs as root so if you do binding
mount, files will be owned by root. You may want to use normal Docker
volume and not an external directory.
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: gogala.mladen@gmail.com
Subject: Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted
In-Reply-To: <14c7c00e-4812-f7e1-13fa-92a6faafed59@gmail.com>
References: <12702.1662694970@sss.pgh.pa.us> <A4B1FFC8-7B76-4887-B564-38525E26D944@easesoftware.com> <14c7c00e-4812-f7e1-13fa-92a6faafed59@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox