mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Rename LOGICAL_REP_MSG_STREAM_END to LOGICAL_REP_MSG_STREAM_STOP.
In the code, most places used the term "Stream Stop" for the logical stream message. This commit improves consistency by renaming LogicalRepMsgType "LOGICAL_REP_MSG_STREAM_END" to "LOGICAL_REP_MSG_STREAM_STOP". Author: Masahiko Sawada Reviewed-by: Hou Zhijie, Amit Kapila Discussion: https://postgr.es/m/CAD21AoDeScrsHhLyEPYqN3sydg6PxAPVBboK=30xJfUVihNZDA@mail.gmail.com
This commit is contained in:
@@ -1074,7 +1074,7 @@ logicalrep_read_stream_start(StringInfo in, bool *first_segment)
|
||||
void
|
||||
logicalrep_write_stream_stop(StringInfo out)
|
||||
{
|
||||
pq_sendbyte(out, LOGICAL_REP_MSG_STREAM_END);
|
||||
pq_sendbyte(out, LOGICAL_REP_MSG_STREAM_STOP);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -2380,7 +2380,7 @@ apply_dispatch(StringInfo s)
|
||||
apply_handle_stream_start(s);
|
||||
return;
|
||||
|
||||
case LOGICAL_REP_MSG_STREAM_END:
|
||||
case LOGICAL_REP_MSG_STREAM_STOP:
|
||||
apply_handle_stream_stop(s);
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user