Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Remove unused function declaration in logicalproto.h.
authorAmit Kapila <akapila@postgresql.org>
Sat, 12 Sep 2020 02:17:53 +0000 (07:47 +0530)
committerAmit Kapila <akapila@postgresql.org>
Sat, 12 Sep 2020 02:17:53 +0000 (07:47 +0530)
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

src/backend/replication/pgoutput/pgoutput.c
src/include/replication/logicalproto.h

index c29c0888133af40eabcf7078f5ade43fe7cbd824..343f03129fe7a4ba8889de80b1a0ef8a3378a5e3 100644 (file)
@@ -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.
  *
index 53905ee6080f4bd88c537b47a3adc2f2cac1d444..607a728508bbab478460de205d43776864ae053f 100644 (file)
@@ -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,