Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ddd5f6d

Browse files
author
Amit Kapila
committed
Remove unused function declaration in logicalproto.h.
In the passing, fix a typo in pgoutput.c. Reported-by: Tomas Vondra Author: Tomas Vondra Reviewed-by: Dilip Kumar Discussion: https://postgr.es/m/20200909084353.pncuclpbwlr7vylh@development
1 parent 0758964 commit ddd5f6d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/backend/replication/pgoutput/pgoutput.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void send_relation_and_attrs(Relation relation, TransactionId xid,
7777
* and with streamed transactions the commit order may be different from
7878
* the order the transactions are sent in. Also, the (sub) transactions
7979
* might get aborted so we need to send the schema for each (sub) transaction
80-
* so that we don't loose the schema information on abort. For handling this,
80+
* so that we don't lose the schema information on abort. For handling this,
8181
* we maintain the list of xids (streamed_txns) for those we have already sent
8282
* the schema.
8383
*

src/include/replication/logicalproto.h

-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ extern void logicalrep_write_stream_start(StringInfo out, TransactionId xid,
133133
extern TransactionId logicalrep_read_stream_start(StringInfo in,
134134
bool *first_segment);
135135
extern void logicalrep_write_stream_stop(StringInfo out);
136-
extern TransactionId logicalrep_read_stream_stop(StringInfo in);
137136
extern void logicalrep_write_stream_commit(StringInfo out, ReorderBufferTXN *txn,
138137
XLogRecPtr commit_lsn);
139138
extern TransactionId logicalrep_read_stream_commit(StringInfo out,

0 commit comments

Comments
 (0)