From e22b27f0cb3ee03ee300d431997f5944ccf2d7b3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 24 Mar 2018 21:14:20 -0400 Subject: Add long options to pg_resetwal and pg_controldata We were running out of good single-letter options for some upcoming pg_resetwal functionality, so add long options to create more possibilities. Add to pg_controldata as well for symmetry. based on patch by Bossart, Nathan --- doc/src/sgml/ref/pg_controldata.sgml | 8 ++++++- doc/src/sgml/ref/pg_resetwal.sgml | 43 +++++++++++++++++++++++++++--------- 2 files changed, 39 insertions(+), 12 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_controldata.sgml b/doc/src/sgml/ref/pg_controldata.sgml index 9a676e0a78b..32081e9b91c 100644 --- a/doc/src/sgml/ref/pg_controldata.sgml +++ b/doc/src/sgml/ref/pg_controldata.sgml @@ -23,7 +23,13 @@ PostgreSQL documentation pg_controldata option - datadir + + + + + + datadir + diff --git a/doc/src/sgml/ref/pg_resetwal.sgml b/doc/src/sgml/ref/pg_resetwal.sgml index 34ebe11a442..5e2e3086a6e 100644 --- a/doc/src/sgml/ref/pg_resetwal.sgml +++ b/doc/src/sgml/ref/pg_resetwal.sgml @@ -22,10 +22,22 @@ PostgreSQL documentation pg_resetwal - - + + + + + + + + option - datadir + + + + + + datadir + @@ -78,6 +90,7 @@ PostgreSQL documentation + Force pg_resetwal to proceed even if it cannot determine @@ -88,9 +101,10 @@ PostgreSQL documentation + - The (no operation) option instructs + The / option instructs pg_resetwal to print the values reconstructed from pg_control and values about to be changed, and then exit without modifying anything. This is mainly a debugging tool, but can be @@ -123,7 +137,8 @@ PostgreSQL documentation - xid,xid + + Manually set the oldest and newest transaction IDs for which the commit @@ -144,7 +159,8 @@ PostgreSQL documentation - xid_epoch + + Manually set the next transaction ID's epoch. @@ -164,7 +180,8 @@ PostgreSQL documentation - walfile + + Manually set the WAL starting location by specifying the name of the @@ -203,7 +220,8 @@ PostgreSQL documentation - mxid,mxid + + Manually set the next and oldest multitransaction ID. @@ -224,7 +242,8 @@ PostgreSQL documentation - oid + + Manually set the next OID. @@ -239,7 +258,8 @@ PostgreSQL documentation - mxoff + + Manually set the next multitransaction offset. @@ -256,7 +276,8 @@ PostgreSQL documentation - xid + + Manually set the next transaction ID. -- cgit v1.2.3