From ee465848846efe6da0c73c99a0fcde6982831468 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 23 Feb 2026 13:42:38 +0900 Subject: [PATCH] doc: Add section "Options" for pg_controldata Adding this section brings consistency with the pages of other tools, potentially easing the introduction of new options in the future as these are now showing in the shape of a list. Author: Peter Smith Reviewed-by: Andreas Karlsson Discussion: https://postgr.es/m/CAHut+PtSF5AW3DHpYA-_muDLms2xBUzHpd545snVj8vFpmsmGg@mail.gmail.com --- doc/src/sgml/ref/pg_controldata.sgml | 45 ++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/ref/pg_controldata.sgml b/doc/src/sgml/ref/pg_controldata.sgml index b47fdca9dfc..22dc6161008 100644 --- a/doc/src/sgml/ref/pg_controldata.sgml +++ b/doc/src/sgml/ref/pg_controldata.sgml @@ -47,14 +47,49 @@ PostgreSQL documentation This utility can only be run by the user who initialized the cluster because it requires read access to the data directory. You can specify the data directory on the command line, or use - the environment variable PGDATA. This utility supports the options - and , which print the - pg_controldata version and exit. It also - supports options and , which output the - supported arguments. + the environment variable PGDATA. + + Options + + + + + + + + + Specifies the directory where the database cluster is stored. + + + + + + + + + + Print the pg_controldata version and exit. + + + + + + + + + + Show help about pg_controldata command line + arguments, and exit. + + + + + + + Environment