Re: Patch a potential memory leak in describeOneTableDetails() - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: Patch a potential memory leak in describeOneTableDetails()
Date
Msg-id 20220224.153201.718114260358756931.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: Patch a potential memory leak in describeOneTableDetails()  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: Patch a potential memory leak in describeOneTableDetails()  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
At Thu, 24 Feb 2022 14:44:56 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> At Tue, 22 Feb 2022 09:59:09 +0100, Daniel Gustafsson <daniel@yesql.se> wrote in 
> > The section in question was added to our docs 22 years ago, to make it reflect
> > the current operating systems in use maybe just not mentioning more(1) is the
> > easiest?:
> > 
> >     "The text browsing tool less can be invoked as less -x4 to make it show
> >     tabs appropriately."
> > 
> > Or perhaps remove that section altogether?
> 
> I think the former is better.

So the attached does that.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center
From fd833aee1756364f669a3d478763299ce6d3a747 Mon Sep 17 00:00:00 2001
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Date: Thu, 24 Feb 2022 15:18:52 +0900
Subject: [PATCH] Fix out-of-date description mentioning the command more

In most of the operating systems in use, "more" is implemented using
"less", or otherwise "more" does not have an -x option. Remove the
descriptions related to the more command to make it reflect the
current world better.
---
 doc/src/sgml/sources.sgml | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml
index 1b77efb087..7a6e8a951f 100644
--- a/doc/src/sgml/sources.sgml
+++ b/doc/src/sgml/sources.sgml
@@ -76,13 +76,8 @@
    </para>
 
    <para>
-    The text browsing tools <application>more</application> and
-    <application>less</application> can be invoked as:
-<programlisting>
-more -x4
-less -x4
-</programlisting>
-    to make them show tabs appropriately.
+    The text browsing tool <application>less</application> can be invoked
+    as <quote>less -x4</quote> to make it show tabs appropriately.
    </para>
   </sect1>
 
-- 
2.27.0


pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: postgres_fdw: commit remote (sub)transactions in parallel during pre-commit
Next
From: Michael Paquier
Date:
Subject: Re: pg_stat_get_replication_slot and pg_stat_get_subscription_worker incorrectly marked as proretset