Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2e44f37

Browse files
Fix format for TAP test docs
Small number of fixes to perl docs for TAP tests. Plus two comments that use "xlog" rather than WAL Michael Paquier
1 parent d86f400 commit 2e44f37

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

src/test/perl/PostgresNode.pm

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,15 +1324,17 @@ sub run_log
13241324
TestLib::run_log(@_);
13251325
}
13261326

1327-
=pod $node->lsn(mode)
1327+
=pod
1328+
1329+
=item $node->lsn(mode)
13281330
1329-
Look up xlog positions on the server:
1331+
Look up WAL positions on the server:
13301332
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)
13361338
13371339
mode must be specified.
13381340
@@ -1363,11 +1365,13 @@ sub lsn
13631365
}
13641366
}
13651367

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)
13671371
13681372
Wait for the node with application_name standby_name (usually from node->name)
13691373
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
13711375
the replay_location is waited for, but 'mode' may be specified to wait for any
13721376
of sent|write|flush|replay.
13731377
@@ -1401,7 +1405,9 @@ sub wait_for_catchup
14011405
print "done\n";
14021406
}
14031407

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)
14051411
14061412
Wait for the named replication slot to equal or pass the supplied target_lsn.
14071413
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
14351441
print "done\n";
14361442
}
14371443

1438-
=pod $node->query_hash($dbname, $query, @columns)
1444+
=pod
1445+
1446+
=item $node->query_hash($dbname, $query, @columns)
14391447
14401448
Execute $query on $dbname, replacing any appearance of the string __COLUMNS__
14411449
within the query with a comma-separated list of @columns.
@@ -1473,7 +1481,9 @@ sub query_hash
14731481
return \%val;
14741482
}
14751483

1476-
=pod $node->slot(slot_name)
1484+
=pod
1485+
1486+
=item $node->slot(slot_name)
14771487
14781488
Return hash-ref of replication slot data for the named slot, or a hash-ref with
14791489
all values '' if not found. Does not differentiate between null and empty string

0 commit comments

Comments
 (0)