From c419cd7d32f0b60671cfa652c312c889875031bc 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 f083dba49a..60ba5c6ba7 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 @@ -4080,7 +4121,7 @@ select 1\; select 2\; select 3; - + Advanced Features @@ -5076,7 +5117,7 @@ testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# ' - + Command-Line Editing @@ -5319,7 +5360,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Files @@ -5390,7 +5431,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Notes @@ -5437,7 +5478,7 @@ PSQL_EDITOR_LINENUMBER_ARG='--line ' - + Notes for Windows Users -- 2.34.1