pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oleksandr Shulgin <oleksandr.shulgin@zalando.de>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Poll: are people okay with function/operator table redesign?
Date: Tue, 05 May 2020 11:17:24 -0400
Message-ID: <24025.1588691844@sss.pgh.pa.us> (raw )
In-Reply-To: <CACACo5TJ_X1cUo1zDnyGNusOkZLfxx62UVtS8rHj99K1hKXGaA@mail.gmail.com >
References: <20200423174343.GA16996@alvherre.pgsql >
<19233.1587665407@sss.pgh.pa.us >
<5561.1587922854@sss.pgh.pa.us >
<13e5e408-bc59-e8ca-44f3-28a981b4fc7d@postgresql.org >
<a47ea348-b9a0-02b7-5bcb-7a32143dd16f@postgresql.org >
<11211.1587951842@sss.pgh.pa.us >
<58de9544-be5b-f325-b5cc-cce4e2dda7d9@postgresql.org >
<5651.1587991781@sss.pgh.pa.us >
<b998a672-2525-1cba-ac64-b292f495919e@postgresql.org >
<30469.1588087170@sss.pgh.pa.us >
<8682.1588202983@sss.pgh.pa.us >
<4894cde4-148d-f0cc-d6d8-182a46f13e1b@postgresql.org >
<06f6b32d-a4cc-3723-5bc1-00fa674df961@postgresql.org >
<11106.1588205727@sss.pgh.pa.us >
<1c5ca197-f7f2-0300-46ce-4652c7f81d48@postgresql.org >
<ab7803b4-f985-cf3d-267f-38b7311ca917@postgresql.org >
<18310.1588214299@sss.pgh.pa.us >
<c5f34a44-ccb9-c59e-ee5a-c8d97980df15@postgresql.org >
<20585.1588217180@sss.pgh.pa.us >
<b1f89d14-cd7f-e43d-964e-9fb04e209b72@postgresql.org >
<751.1588627321@sss.pgh.pa.us >
<CACACo5TJ_X1cUo1zDnyGNusOkZLfxx62UVtS8rHj99K1hKXGaA@mail.gmail.com >
Oleksandr Shulgin <oleksandr.shulgin@zalando.de> writes:
> Would it be premature to complain about the not-that-great look of Table
> 9.1 now?
> Compare the two attached images: the screenshot from
> https://www.postgresql.org/docs/devel/functions-comparison.html
> vs the GIMP-assisted pipe dream of mine to align it to the right edge of
> the table cell.
Hmph. I experimented with the attached patch, but at least in my browser
it only reduces the spacing inconsistency, it doesn't eliminate it.
And from a semantic standpoint, this is not nice markup.
Doing better would require substantial foolery with sub-columns and I'm
not even sure that it's possible to fix that way. (We don't have huge
control over inter-column spacing, I don't think.)
On the whole, if this is our worst table problem, I'm happy ;-)
regards, tom lane
Attachments:
hack-table-9.1.patch (text/x-diff, 1.3K) download
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index d9b3598..557a3ac 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -222,7 +222,7 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue>
<tbody>
<row>
<entry>
- <replaceable>datatype</replaceable> <literal><</literal> <replaceable>datatype</replaceable>
+ <replaceable>datatype</replaceable> <literal>< </literal> <replaceable>datatype</replaceable>
<returnvalue>boolean</returnvalue>
</entry>
<entry>Less than</entry>
@@ -230,7 +230,7 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue>
<row>
<entry>
- <replaceable>datatype</replaceable> <literal>></literal> <replaceable>datatype</replaceable>
+ <replaceable>datatype</replaceable> <literal>> </literal> <replaceable>datatype</replaceable>
<returnvalue>boolean</returnvalue>
</entry>
<entry>Greater than</entry>
@@ -254,7 +254,7 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue>
<row>
<entry>
- <replaceable>datatype</replaceable> <literal>=</literal> <replaceable>datatype</replaceable>
+ <replaceable>datatype</replaceable> <literal>= </literal> <replaceable>datatype</replaceable>
<returnvalue>boolean</returnvalue>
</entry>
<entry>Equal</entry>
view thread (113+ messages)
Message-ID: <24025.1588691844@sss.pgh.pa.us>
Permalink: ../24025.1588691844@sss.pgh.pa.us/
Also on: postgresql.org/message-id/24025.1588691844@sss.pgh.pa.us
copy link · copy postgr.es · copy git am
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, oleksandr.shulgin@zalando.de, pgsql-hackers@lists.postgresql.org
Subject: Re: Poll: are people okay with function/operator table redesign?
In-Reply-To: <24025.1588691844@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox