Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcEIK-0008TY-SA for pgsql-general@arkaria.postgresql.org; Mon, 09 Nov 2020 21:01:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcEIJ-0005ap-E7 for pgsql-general@arkaria.postgresql.org; Mon, 09 Nov 2020 21:01:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcEIJ-0005ah-2c for pgsql-general@lists.postgresql.org; Mon, 09 Nov 2020 21:01:43 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kcEIG-0005i6-T4 for pgsql-general@lists.postgresql.org; Mon, 09 Nov 2020 21:01:42 +0000 Received: by mail-oi1-x229.google.com with SMTP id u127so11774254oib.6 for ; Mon, 09 Nov 2020 13:01:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=Cz3hYjjfUpSBkhgtoxRL4kVA9XsFKpRpn9jn33uTI3w=; b=T6LDxNvw9d/zJWgB2R/6zg/LW2lHFBB+HNTr+ZnPs61NdHxAmyW0M0p/UjquGFjq/N 8G5Xrqj5V+ZASb6NyOX7FyyBCjVt83jlSBYjv2UhiVAgIIuRdFFez6qRVQS3Y6G903F2 AkPyXWtSqOOttEvZSbVMRDDyxmFxg7S1rt7kSJcp7nkAiy86GPhCv+aRZc66pqPRVwSg BRivKvnRK32YFvi6Wnlg39U5XZTWaMg7J6uXtC69ChRyolKxnuI7j9BzNoHiWNzwRXmA nMhJuRDFdt6cVwxQE2eKxds+vfVmX0E7maCCsTCz5lTCsXfxVQphCZzBrmE+BnY2Cehq 9gFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=Cz3hYjjfUpSBkhgtoxRL4kVA9XsFKpRpn9jn33uTI3w=; b=OvoMr+Qwqy03j1ZA8A1W+D9/ki9hLPBr9BVb3gTYz1JK7yTgm2SVivKWRrAQ4lc2/U o7R6oOz/wbxN6v2CMq44KVD/m6J3WRQanC/dIqmDYwptpuutqE4tlyl2vXWurOnDrXqt GtzyAfVbi62oTBgFKafLPUfrKOdKNCI2fdw5buvz281yiTtW6W7mqbhHU09cvLDdeMSB mhXWjUEzYWasa8CKjTfXFnI0mFpBA3Y0CKlQcjeOboQUGwuY7aNHma3GJhPWkGim+weK uDweKRqBwYE3aQxgGxwSsyu4USwWgFIzxd4XLrL8FThy0aKdW9zx26tEPF7eu4Foe757 87+A== X-Gm-Message-State: AOAM533bQOo10WRbVKmKEKZVXGJj78Ae31SAen5drACobxrbKYMq4ygo NtiRQIXwbjCehDxPYKcfSNXGd578z+ag8A== X-Google-Smtp-Source: ABdhPJzM8fZ3zLfY4LS4DnU3ienZdnlGJkyPcY6XFHw5KsBv9j1qngzRFQOJbGSZuMi//1RAnPrl9g== X-Received: by 2002:aca:5b04:: with SMTP id p4mr719954oib.26.1604955697965; Mon, 09 Nov 2020 13:01:37 -0800 (PST) Received: from [192.168.1.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id s14sm1037075oij.4.2020.11.09.13.01.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Nov 2020 13:01:36 -0800 (PST) Subject: Re: New "function tables" in V13 documentation To: pgsql-general@lists.postgresql.org References: <20201109200642.GA30521@alvherre.pgsql> <1997567.1604954478@sss.pgh.pa.us> From: Ron Message-ID: <70fda750-2c22-560f-4999-735133f3705f@gmail.com> Date: Mon, 9 Nov 2020 15:01:35 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------BEE073A3D6E85F0D61DD50EE" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------BEE073A3D6E85F0D61DD50EE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 11/9/20 2:47 PM, David G. Johnston wrote: > On Mon, Nov 9, 2020 at 1:41 PM Tom Lane > wrote: > > Alvaro Herrera > writes: > > On 2020-Nov-08, Adrian Klaver wrote: > >> Yeah, I would agree with the mobile first design comments. Then > again that > >> plague is hitting most sites these days. My 2 cents is it is a step > >> backwards. You can cover more ground quickly and digest it faster > in the old > >> format. > > > The person who made that comment retracted later. > > > If you have suggestion on how to improve the new format, I'm sure we can > > discuss that.  It seems pretty clear to me that we're not going back to > > the old format. > > I think there's no question that the new format is better in any case > where a function needs more than a couple words of documentation. > I could see the argument for adopting a more compact format for tables > that contain no such functions.  I think you might find that the set of > such tables is nigh empty, though; even section 9.3 (mathematical > functions) has a lot of functions that need a sentence or two.  We used > to either omit important details for such functions or stick them in > footnotes, and neither of those options is very nice. > > > My observation is that the new format reduces one's ability to quickly > skim the table to find out what is present since there is considerable > extra information in one's eyes during that process that needs to be > skimmed over. > > My suggestion is to add a "table of contents" at the top of non-trivial > sections that simply lists available functions by name (generally ignoring > argument variations) and a quick one line description of purpose.  Once a > person finds the name of the function that suits their needs they can then > reference the main table for details, warnings, and examples. This is what TOCs are for, no? -- Angular momentum makes the world go 'round. --------------BEE073A3D6E85F0D61DD50EE Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 11/9/20 2:47 PM, David G. Johnston wrote:
On Mon, Nov 9, 2020 at 1:41 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2020-Nov-08, Adrian Klaver wrote:
>> Yeah, I would agree with the mobile first design comments. Then again that
>> plague is hitting most sites these days. My 2 cents is it is a step
>> backwards. You can cover more ground quickly and digest it faster in the old
>> format.

> The person who made that comment retracted later.

> If you have suggestion on how to improve the new format, I'm sure we can
> discuss that.  It seems pretty clear to me that we're not going back to
> the old format.

I think there's no question that the new format is better in any case
where a function needs more than a couple words of documentation.
I could see the argument for adopting a more compact format for tables
that contain no such functions.  I think you might find that the set of
such tables is nigh empty, though; even section 9.3 (mathematical
functions) has a lot of functions that need a sentence or two.  We used
to either omit important details for such functions or stick them in
footnotes, and neither of those options is very nice.

My observation is that the new format reduces one's ability to quickly skim the table to find out what is present since there is considerable extra information in one's eyes during that process that needs to be skimmed over.

My suggestion is to add a "table of contents" at the top of non-trivial sections that simply lists available functions by name (generally ignoring argument variations) and a quick one line description of purpose.  Once a person finds the name of the function that suits their needs they can then reference the main table for details, warnings, and examples.

This is what TOCs are for, no?

--
Angular momentum makes the world go 'round.
--------------BEE073A3D6E85F0D61DD50EE--