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 1jRewr-0005f3-QU for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Apr 2020 16:43:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jRewp-0000iT-Sy for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Apr 2020 16:43:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRewp-0000iM-M5 for pgsql-hackers@lists.postgresql.org; Thu, 23 Apr 2020 16:43:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRewn-0004Hy-E9 for pgsql-hackers@lists.postgresql.org; Thu, 23 Apr 2020 16:43:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 03NGhRmT015396; Thu, 23 Apr 2020 12:43:27 -0400 From: Tom Lane To: Bruce Momjian cc: Peter Eisentraut , Alvaro Herrera , Robert Haas , Steven Pousty , Pavel Stehule , Isaac Morland , Pierre Giraud , PostgreSQL Developers Subject: Re: Poll: are people okay with function/operator table redesign? In-reply-to: <20200423162302.GA4210@momjian.us> References: <20200416230304.GA28390@alvherre.pgsql> <17560.1587083109@sss.pgh.pa.us> <26009.1587302581@sss.pgh.pa.us> <6f47d8c5-318c-9e94-de37-57f56370625f@2ndquadrant.com> <6024.1587657841@sss.pgh.pa.us> <20200423162302.GA4210@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 23 Apr 2020 12:23:02 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15394.1587660207.1@sss.pgh.pa.us> Date: Thu, 23 Apr 2020 12:43:27 -0400 Message-ID: <15395.1587660207@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > On Thu, Apr 23, 2020 at 12:04:01PM -0400, Tom Lane wrote: >> As I said, I'm happy to do the legwork of improving the markup if someone >> will point me in the right direction. But I know next to zip about CSS, >> so it would not be productive for me to do the basic design there --- >> it would take too long and there would probably still be lots to criticize >> in whatever I came up with. > I can do the CSS if you tell me what you want. I think the existing visual appearance is more or less agreed to, so what we want is to reproduce that as closely as possible from some saner markup. The first problem is to agree on what "saner markup" is exactly. We could possibly use margin and vertical-space CSS adjustments starting from just using several s within each table cell (one for signature, one for description, one for each example). I'm not sure whether that meets Peter's desire for "semantic" markup though. It's not any worse than the old way with otherwise-unlabeled s, but it's not better either. Do we want, say, to distinguish descriptions from examples in the markup? If so, will paras with a role attribute do, or does it need to be something else? I'm also not sure whether or not Peter is objecting to the way I used . That seems reasonably semantically-based to me, but since he hasn't stated what his criteria are, I don't know if he thinks so. (I'll admit that it's a bit of an abuse to use that for both function return types and example results.) If that's out then we need some other design for getting the right arrows into place. regards, tom lane