From 19023230c451969abb3bde38d15e084ee2b08131 Mon Sep 17 00:00:00 2001 From: "David G. Johnston" Date: Tue, 25 Mar 2025 23:03:41 -0700 Subject: [PATCH] doc: add local TOC to psql reference page --- doc/src/sgml/ref/psql-ref.sgml | 63 ++++++++++++++++++++++++++++------ 1 file changed, 52 insertions(+), 11 deletions(-) diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 1ab427d18aff..72e374cd2bfa 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -45,7 +45,48 @@ PostgreSQL documentation - + + Table of Contents + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Options @@ -623,7 +664,7 @@ EOF - + Exit Status @@ -636,10 +677,10 @@ EOF - + Usage - + Connecting to a Database @@ -712,7 +753,7 @@ $ psql postgresql://dbmaster:5433/mydb?sslmode=require - + Entering SQL Commands @@ -764,7 +805,7 @@ testdb=> - + Meta-Commands @@ -4151,7 +4192,7 @@ SELECT 1\; SELECT 2\; SELECT 3; - + Advanced Features @@ -5179,7 +5220,7 @@ testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# ' - + Command-Line Editing @@ -5422,7 +5463,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Files @@ -5493,7 +5534,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Notes @@ -5540,7 +5581,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Notes for Windows Users