1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-09 18:21:05 +03:00
This commit is contained in:
Alvaro Herrera 2019-04-09 12:59:53 -04:00
parent fe0e0b4fc7
commit 4dba0f6dc4

View File

@ -730,7 +730,7 @@ copy_replication_slot(FunctionCallInfo fcinfo, bool logical_slot)
SpinLockRelease(&src->mutex); SpinLockRelease(&src->mutex);
/* /*
* Check if the source slot still exists and is valid. We regards it * Check if the source slot still exists and is valid. We regard it
* as invalid if the type of replication slot or name has been * as invalid if the type of replication slot or name has been
* changed, or the restart_lsn either is invalid or has gone backward. * changed, or the restart_lsn either is invalid or has gone backward.
* (The restart_lsn could go backwards if the source slot is dropped * (The restart_lsn could go backwards if the source slot is dropped