doc: Fix up spacing around verbatim DocBook elements
authorPeter Eisentraut
Sat, 17 Apr 2021 12:14:26 +0000 (14:14 +0200)
committerPeter Eisentraut
Sat, 17 Apr 2021 12:14:26 +0000 (14:14 +0200)
doc/src/sgml/libpq.sgml
doc/src/sgml/logicaldecoding.sgml

index 52622fe4c1ae233f6c7d628f875c9cb36349b141..7bcb7504a6e5f86d826b17c3b121a87ebe9cf4dd 100644 (file)
@@ -5437,18 +5437,18 @@ int PQpipelineSync(PGconn *conn);
     round-trip to get the results it needs. However, it's often possible to
     adjust the client design to exchange the required information server-side.
     Read-modify-write cycles are especially good candidates; for example:
-    
+
 BEGIN;
 SELECT x FROM mytable WHERE id = 42 FOR UPDATE;
 -- result: x=2
 -- client adds 1 to x:
 UPDATE mytable SET x = 3 WHERE id = 42;
 COMMIT;
-    
+
     could be much more efficiently done with:
-    
+
 UPDATE mytable SET x = x + 1 WHERE id = 42;
-    
+
    
 
    
index cfd58d530808d0c1e3f77f6f0b942ce4608c5042..f61bcfcf3c93ebd356b66d6ff25df18582dae970 100644 (file)
@@ -830,10 +830,10 @@ typedef bool (*LogicalDecodeFilterPrepareCB) (struct LogicalDecodingContext *ctx
       check if the plugin has already received this PREPARE
       in which case it can either error out or skip the remaining changes of 
       the transaction.
-      
-       typedef void (*LogicalDecodeBeginPrepareCB) (struct LogicalDecodingContext *ctx,
-                                                    ReorderBufferTXN *txn);
-      
+
+typedef void (*LogicalDecodeBeginPrepareCB) (struct LogicalDecodingContext *ctx,
+                                             ReorderBufferTXN *txn);
+
      
     
 
@@ -847,11 +847,11 @@ typedef bool (*LogicalDecodeFilterPrepareCB) (struct LogicalDecodingContext *ctx
       rows will have been called before this, if there have been any modified
       rows. The gid field, which is part of the
       txn parameter, can be used in this callback.
-      
-       typedef void (*LogicalDecodePrepareCB) (struct LogicalDecodingContext *ctx,
-                                               ReorderBufferTXN *txn,
-                                               XLogRecPtr prepare_lsn);
-      
+
+typedef void (*LogicalDecodePrepareCB) (struct LogicalDecodingContext *ctx,
+                                        ReorderBufferTXN *txn,
+                                        XLogRecPtr prepare_lsn);
+
      
     
 
@@ -863,11 +863,11 @@ typedef bool (*LogicalDecodeFilterPrepareCB) (struct LogicalDecodingContext *ctx
       whenever a transaction COMMIT PREPARED has been decoded.
       The gid field, which is part of the
       txn parameter, can be used in this callback.
-      
-       typedef void (*LogicalDecodeCommitPreparedCB) (struct LogicalDecodingContext *ctx,
-                                                      ReorderBufferTXN *txn,
-                                                      XLogRecPtr commit_lsn);
-      
+
+typedef void (*LogicalDecodeCommitPreparedCB) (struct LogicalDecodingContext *ctx,
+                                               ReorderBufferTXN *txn,
+                                               XLogRecPtr commit_lsn);
+
      
     
 
@@ -885,12 +885,12 @@ typedef bool (*LogicalDecodeFilterPrepareCB) (struct LogicalDecodingContext *ctx
       it can apply the rollback, otherwise, it can skip the rollback operation. The
       gid alone is not sufficient because the downstream
       node can have a prepared transaction with same identifier.
-      
-       typedef void (*LogicalDecodeRollbackPreparedCB) (struct LogicalDecodingContext *ctx,
-                                                        ReorderBufferTXN *txn,
-                                                        XLogRecPtr prepare_end_lsn,
-                                                        TimestampTz prepare_time);
-      
+
+typedef void (*LogicalDecodeRollbackPreparedCB) (struct LogicalDecodingContext *ctx,
+                                                 ReorderBufferTXN *txn,
+                                                 XLogRecPtr prepare_end_lsn,
+                                                 TimestampTz prepare_time);
+