Comment refers to non existent function IncreaseRestartDecodingForSlot
While trying to figure out this code I found
What function should it be referring to ?
Thanks,
Dave Cramer
2018-06-29 15:55 GMT-03:00 Dave Cramer <davecramer@gmail.com>:
While trying to figure out this code I found
What function should it be referring to ?
LogicalIncreaseXminForSlot (it is a few lines above). It has been like
that since logical decoding was introduced. The trivial patch fixes
it.
--
Euler Taveira Timbira -
http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
Attachments:
typo.patchtext/x-patch; charset=US-ASCII; name=typo.patchDownload
diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c
index 61588d6..c2d0e0c 100644
--- a/src/backend/replication/logical/logical.c
+++ b/src/backend/replication/logical/logical.c
@@ -910,7 +910,7 @@ LogicalIncreaseXminForSlot(XLogRecPtr current_lsn, TransactionId xmin)
* Mark the minimal LSN (restart_lsn) we need to read to replay all
* transactions that have not yet committed at current_lsn.
*
- * Just like IncreaseRestartDecodingForSlot this only takes effect when the
+ * Just like LogicalIncreaseXminForSlot this only takes effect when the
* client has confirmed to have received current_lsn.
*/
void
On Fri, Jun 29, 2018 at 05:34:21PM -0300, Euler Taveira wrote:
LogicalIncreaseXminForSlot (it is a few lines above). It has been like
that since logical decoding was introduced. The trivial patch fixes
it.
That looks right to me. Pushed.
--
Michael