diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 056cff04e15..e6f2129f386 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -17054,7 +17054,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); internal_id oid - Create a replication origin with the the passed in external + Create a replication origin with the passed in external name, and create an internal id for it. diff --git a/src/backend/replication/logical/origin.c b/src/backend/replication/logical/origin.c index f6b5ae9c391..738e4b7a41d 100644 --- a/src/backend/replication/logical/origin.c +++ b/src/backend/replication/logical/origin.c @@ -798,7 +798,7 @@ replorigin_redo(XLogReaderState *record) * that originated at the LSN remote_commit on the remote node was replayed * successfully and that we don't need to do so again. In combination with * setting up replorigin_sesssion_origin_lsn and replorigin_sesssion_origin that ensures we - * won't loose knowledge about that after a crash if the the transaction had a + * won't loose knowledge about that after a crash if the transaction had a * persistent effect (think of asynchronous commits). * * local_commit needs to be a local LSN of the commit so that we can make sure