@@ -1324,15 +1324,17 @@ sub run_log
1324
1324
TestLib::run_log(@_ );
1325
1325
}
1326
1326
1327
- =pod $node->lsn(mode)
1327
+ =pod
1328
+
1329
+ =item $node->lsn(mode)
1328
1330
1329
- Look up xlog positions on the server:
1331
+ Look up WAL positions on the server:
1330
1332
1331
- * insert position (master only, error on replica)
1332
- * write position (master only, error on replica)
1333
- * flush position
1334
- * receive position (always undef on master)
1335
- * replay position
1333
+ * insert position (master only, error on replica)
1334
+ * write position (master only, error on replica)
1335
+ * flush position (master only, error on replica)
1336
+ * receive position (always undef on master)
1337
+ * replay position (always undef on master)
1336
1338
1337
1339
mode must be specified.
1338
1340
@@ -1363,11 +1365,13 @@ sub lsn
1363
1365
}
1364
1366
}
1365
1367
1366
- =pod $node->wait_for_catchup(standby_name, mode, target_lsn)
1368
+ =pod
1369
+
1370
+ =item $node->wait_for_catchup(standby_name, mode, target_lsn)
1367
1371
1368
1372
Wait for the node with application_name standby_name (usually from node->name)
1369
1373
until its replication position in pg_stat_replication equals or passes the
1370
- upstream's xlog insert point at the time this function is called. By default
1374
+ upstream's WAL insert point at the time this function is called. By default
1371
1375
the replay_location is waited for, but 'mode' may be specified to wait for any
1372
1376
of sent|write|flush|replay.
1373
1377
@@ -1401,7 +1405,9 @@ sub wait_for_catchup
1401
1405
print " done\n " ;
1402
1406
}
1403
1407
1404
- =pod $node->wait_for_slot_catchup(slot_name, mode, target_lsn)
1408
+ =pod
1409
+
1410
+ =item $node->wait_for_slot_catchup(slot_name, mode, target_lsn)
1405
1411
1406
1412
Wait for the named replication slot to equal or pass the supplied target_lsn.
1407
1413
The position used is the restart_lsn unless mode is given, in which case it may
@@ -1435,7 +1441,9 @@ sub wait_for_slot_catchup
1435
1441
print " done\n " ;
1436
1442
}
1437
1443
1438
- =pod $node->query_hash($dbname, $query, @columns)
1444
+ =pod
1445
+
1446
+ =item $node->query_hash($dbname, $query, @columns)
1439
1447
1440
1448
Execute $query on $dbname, replacing any appearance of the string __COLUMNS__
1441
1449
within the query with a comma-separated list of @columns.
@@ -1473,7 +1481,9 @@ sub query_hash
1473
1481
return \%val ;
1474
1482
}
1475
1483
1476
- =pod $node->slot(slot_name)
1484
+ =pod
1485
+
1486
+ =item $node->slot(slot_name)
1477
1487
1478
1488
Return hash-ref of replication slot data for the named slot, or a hash-ref with
1479
1489
all values '' if not found. Does not differentiate between null and empty string
0 commit comments