From 30460b670cbf39f4e4835a713637ecb3749f6cf6 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 1a339600bc4..36987a9cd52 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 @@ -4131,7 +4172,7 @@ select 1\; select 2\; select 3; - + Advanced Features @@ -5148,7 +5189,7 @@ testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# ' - + Command-Line Editing @@ -5391,7 +5432,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Files @@ -5462,7 +5503,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Notes @@ -5509,7 +5550,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Notes for Windows Users