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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy