Documentation fix for psql

Started by Albe Laurenzabout 10 years ago2 messages
#1Albe Laurenz
laurenz.albe@wien.gv.at
1 attachment(s)

The psql documentation calls the \pset options unicode_*_style
when in reality they are called unicode_*_linestyle.

This should be backpatched to 9.5.

Yours,
Laurenz Albe

Attachments:

0001-Fix-documentation-for-pset-unicode_-_linestyle.patchapplication/octet-stream; name=0001-Fix-documentation-for-pset-unicode_-_linestyle.patchDownload
From 2e75cc59c0f518aeead529cd41a049c974fab41c Mon Sep 17 00:00:00 2001
From: Laurenz Albe <laurenz.albe@wien.gv.at>
Date: Tue, 3 Nov 2015 14:29:08 +0100
Subject: [PATCH] Fix documentation for \pset unicode_*_linestyle

The documentation called the options unicode_*_style by mistake.
---
 doc/src/sgml/ref/psql-ref.sgml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index fd05023..e80d5f7 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -2338,7 +2338,7 @@ lo_import 152801
           </varlistentry>
 
           <varlistentry>
-          <term><literal>unicode_border_style</literal></term>
+          <term><literal>unicode_border_linestyle</literal></term>
           <listitem>
           <para>
           Sets the border drawing style for the <literal>unicode</literal> line style to one
@@ -2348,7 +2348,7 @@ lo_import 152801
           </varlistentry>
 
           <varlistentry>
-          <term><literal>unicode_column_style</literal></term>
+          <term><literal>unicode_column_linestyle</literal></term>
           <listitem>
           <para>
           Sets the column drawing style for the <literal>unicode</literal> line style to one
@@ -2358,7 +2358,7 @@ lo_import 152801
           </varlistentry>
 
           <varlistentry>
-          <term><literal>unicode_header_style</literal></term>
+          <term><literal>unicode_header_linestyle</literal></term>
           <listitem>
           <para>
           Sets the header drawing style for the <literal>unicode</literal> line style to one
-- 
1.7.1

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Albe Laurenz (#1)
Re: Documentation fix for psql

Albe Laurenz <laurenz.albe@wien.gv.at> writes:

The psql documentation calls the \pset options unicode_*_style
when in reality they are called unicode_*_linestyle.
This should be backpatched to 9.5.

So I see. Looks like there are a few other grammatical issues in that
patch too ... will fix. Thanks for the report!

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers