Re: BUG #16927: Postgres can`t access WAL files

Ярослав Пашинский <yarik97.6@gmail.com>

From: Ярослав Пашинский <yarik97.6@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andres Freund <andres@anarazel.de>, Magnus Hagander <magnus@hagander.net>, Tom Lane <tgl@sss.pgh.pa.us>, Postgres bugs <pgsql-bugs@lists.postgresql.org>
Date: 2021-03-23T09:49:32Z
Lists: pgsql-bugs
The error has completely gone and replication works fine. Your patch
definitely works, my 8 prod & dev clusters + 4 replication slots works fine
on 13.2 now. Only one error still sometimes gets occurred (as I showed
before): "2021-03-23 11:44:52.932 EET [9272] LOG:  could not rename
temporary statistics file "pg_stat_tmp/global.tmp" to
"pg_stat_tmp/global.stat": Permission denied"
Hope It'll be fixed in the next releases.
 Best wishes, Yaroslav!

пн, 22 мар. 2021 г. в 07:54, Michael Paquier <michael@paquier.xyz>:

> On Sat, Mar 20, 2021 at 09:31:07AM +0900, Michael Paquier wrote:
> > Fine by me to remove that :)
>
> Applied this stuff as of 909b449 for 13.3~ to address the bug, but I
> would not mind tweak more the areas and its comments if people have
> more ideas.  Yaroslav, things should be good with the next minor
> release of Postgres.
> --
> Michael
>

Commits

  1. Fix concurrency issues with WAL segment recycling on Windows