Re: Poll: are people okay with function/operator table redesign?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Poll: are people okay with function/operator table redesign?
Дата
Msg-id 24025.1588691844@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Poll: are people okay with function/operator table redesign?  (Oleksandr Shulgin <oleksandr.shulgin@zalando.de>)
Список pgsql-hackers
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

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>

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: Collation versioning
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: PG 13 release notes, first draft