[PATCH] In psql \?, add [+] annotation where appropriate

From: "Matthijs van der Vleuten" <postgresql(at)zr40(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] In psql \?, add [+] annotation where appropriate
Date: 2021-03-21 19:41:47
Message-ID: 6a984e24-2171-4039-9050-92d55e7b23fe@www.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

User inoas on IRC channel #postgresql noted that \? does not describe \do as supporting the + option. It does however support this option, as do \dAp and \dy.

This patch adds the annotation to the description of these commands in \?.

While adding it to the translation files I noticed some obvious errors, so this patch fixes the following as well:

* correct inconsistent alignment. This was especially egregious in fr.po. Differing alignment across sections in es.po is preserved as this may have been a deliberate choice by the translator.
* cs.po: remove extraneous newline
* es.po: replace incorrect mention of \do with the correct \dAc, \dAf and \dAo
* fr.po: merge some small lines that still fit within 78 chars
* fr.po: remove [brackets] denoting optional parameters, when these aren't present in the English text
* fr.po: \sv was shown as accepting "FONCTION". This is replaced with "VUE".
* fr.po: \t was missing its optional [on|off] parameter.
* tr.po: fix typo at \d
* uk.po: add missing newline at \c

Regards,
Matthijs

Attachment Content-Type Size
0001-In-psql-add-annotation.patch text/x-patch 63.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-03-21 19:56:14 Re: Fix pg_upgrade to preserve datdba
Previous Message Jan Wieck 2021-03-21 19:36:51 Re: Fix pg_upgrade to preserve datdba