diff options
author | Andres Freund <andres@anarazel.de> | 2014-07-24 14:32:34 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-07-24 14:44:45 +0200 |
commit | 93a028f569232fa498279841cb61ad11c2df5c85 (patch) | |
tree | 5bb10e79bb0b3fe1d9d30edcdae31c7434eb06e6 /src/backend/access/transam/xlog.c | |
parent | 32d78894c2a92cbb2fe7b9160936fee31672e7d9 (diff) | |
download | postgresql-93a028f569232fa498279841cb61ad11c2df5c85.tar.gz postgresql-93a028f569232fa498279841cb61ad11c2df5c85.zip |
Properly remove ephemeral replication slots after a crash restart.
Ephemeral slots - slots that shouldn't survive database restarts -
weren't properly cleaned up after a immediate/crash restart. They were
ignored in the sense that they weren't restored into memory and thus
didn't cause unwanted resource retention; but they prevented a new
slot with the same name from being created.
Now ephemeral slots are fully removed during startup.
Backpatch to 9.4 where replication slots where added.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions