diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-06-24 14:15:17 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-06-24 14:15:17 -0400 |
commit | 12e52ba5a76e56aacdfbbb269e6b45c53d80c477 (patch) | |
tree | b33a4d46713ebdadb9bc320edab0bf1725cbc2ec /src/backend/access/transam/xlog.c | |
parent | 411493d701e2f97e778dc1ff14fb7169eea2e94c (diff) | |
download | postgresql-12e52ba5a76e56aacdfbbb269e6b45c53d80c477.tar.gz postgresql-12e52ba5a76e56aacdfbbb269e6b45c53d80c477.zip |
Save slot's restart_lsn when invalidated due to size
We put it aside as invalidated_at, which let us show "lost" in
pg_replication slot. Prior to this change, the state value was reported
as NULL.
Backpatch to 13.
Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/20200617.101707.1735599255100002667.horikyota.ntt@gmail.com
Discussion: https://postgr.es/m/20200407.120905.1507671100168805403.horikyota.ntt@gmail.com
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions