Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted

From: Mladen Gogala <gogala(dot)mladen(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted
Date: 2022-09-09 04:12:49
Message-ID: 14c7c00e-4812-f7e1-13fa-92a6faafed59@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message shanker singh 2022-09-09 13:04:24 Re: ERROR: cache lookup failed for user mapping 476444
Previous Message Perry Smith 2022-09-09 04:08:25 Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted