diff options
author | Amit Kapila <akapila@postgresql.org> | 2020-09-12 07:47:53 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2020-09-12 07:47:53 +0530 |
commit | ddd5f6d2609b25f252d81dc43746347e0113bfbe (patch) | |
tree | d261ff0e33c5e1b61cd8c587886b5294fceabbae | |
parent | 07589649639410032df281e98469db88a0b86271 (diff) | |
download | postgresql-ddd5f6d2609b25f252d81dc43746347e0113bfbe.tar.gz postgresql-ddd5f6d2609b25f252d81dc43746347e0113bfbe.zip |
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
-rw-r--r-- | src/backend/replication/pgoutput/pgoutput.c | 2 | ||||
-rw-r--r-- | src/include/replication/logicalproto.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/replication/pgoutput/pgoutput.c b/src/backend/replication/pgoutput/pgoutput.c index c29c0888133..343f03129fe 100644 --- a/src/backend/replication/pgoutput/pgoutput.c +++ b/src/backend/replication/pgoutput/pgoutput.c @@ -77,7 +77,7 @@ static void send_relation_and_attrs(Relation relation, TransactionId xid, * and with streamed transactions the commit order may be different from * the order the transactions are sent in. Also, the (sub) transactions * might get aborted so we need to send the schema for each (sub) transaction - * so that we don't loose the schema information on abort. For handling this, + * so that we don't lose the schema information on abort. For handling this, * we maintain the list of xids (streamed_txns) for those we have already sent * the schema. * diff --git a/src/include/replication/logicalproto.h b/src/include/replication/logicalproto.h index 53905ee6080..607a728508b 100644 --- a/src/include/replication/logicalproto.h +++ b/src/include/replication/logicalproto.h @@ -133,7 +133,6 @@ extern void logicalrep_write_stream_start(StringInfo out, TransactionId xid, extern TransactionId logicalrep_read_stream_start(StringInfo in, bool *first_segment); extern void logicalrep_write_stream_stop(StringInfo out); -extern TransactionId logicalrep_read_stream_stop(StringInfo in); extern void logicalrep_write_stream_commit(StringInfo out, ReorderBufferTXN *txn, XLogRecPtr commit_lsn); extern TransactionId logicalrep_read_stream_commit(StringInfo out, |