Content-Length: 257668 | pFad | http://github.com/postgrespro/postgres/commit/20659fd8e5ecb3bcb3e337581c4bd7123d490ddc

A4 Update comment atop of ReorderBufferQueueMessage(). · postgrespro/postgres@20659fd · GitHub
Skip to content

Commit 20659fd

Browse files
author
Amit Kapila
committed
Update comment atop of ReorderBufferQueueMessage().
The comments atop of this function describes behaviour in case of a transactional WAL message only, but it accepts both transactional and non-transactional WAL messages. Update the comments to describe behaviour in case of non-transactional WAL message as well. Ashutosh Bapat, rephrased by Amit Kapila Discussion: https://postgr.es/m/CAGEoWWTTzNzHOi8bj0wfAo1siGi-YEh6wqH1oaz4DrkTJ6HbTQ@mail.gmail.com
1 parent 8afca70 commit 20659fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/replication/logical/reorderbuffer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,8 @@ ReorderBufferQueueChange(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn,
783783
}
784784

785785
/*
786-
* Queue message into a transaction so it can be processed upon commit.
786+
* A transactional message is queued to be processed upon commit and a
787+
* non-transactional message gets processed immediately.
787788
*/
788789
void
789790
ReorderBufferQueueMessage(ReorderBuffer *rb, TransactionId xid,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/20659fd8e5ecb3bcb3e337581c4bd7123d490ddc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy