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 | 0188bb82531f1b0ae3648fb81a4bd4a4f6242127 (patch) | |
tree | 25d4a54173ecb97296cd8ec5d7421d610cf6b78b /src/backend/access/transam/xlog.c | |
parent | 368d7f3297e7e1304da03904d2e1310d79fa82a9 (diff) | |
download | postgresql-0188bb82531f1b0ae3648fb81a4bd4a4f6242127.tar.gz postgresql-0188bb82531f1b0ae3648fb81a4bd4a4f6242127.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