Re: logical replication: could not create file "state.tmp": File exists

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Grigory Smolkin <g.smolkin@postgrespro.ru>, Pg Bugs <pgsql-bugs@postgresql.org>
Date: 2020-05-26T01:41:36Z
Lists: pgsql-bugs
On Mon, May 25, 2020 at 04:35:41PM -0400, Alvaro Herrera wrote:
> We haven't addressed this problem, have we?  At least, I see that this
> routine still looks like this:

Yeah, I think that we still need to do something here.  I got this
issue on my stack for some time but I have not been able to get around
it..
--
Michael

Commits

  1. Remove state.tmp when failing to save a replication slot