Обсуждение: Re: psql: Option to use expanded mode for various meta-commands

Поиск
Список
Период
Сортировка

Re: psql: Option to use expanded mode for various meta-commands

От
Greg Sabino Mullane
Дата:
I like this, very useful. It's a shame about the conflict with \dx (lesson for the future: think extra carefully about option namings!). I am impressed that \dx   \d   \d+   \d+x  and even \dxx all work as one might intuit with this patch.

Cheers,
Greg

Re: psql: Option to use expanded mode for various meta-commands

От
Greg Sabino Mullane
Дата:
On Wed, Jan 8, 2025 at 8:44 AM Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
Attached is a more complete patch

+1, looks good

So in the end, I decided to just add a sentence to each command's description, keeping it as
short as possible.

Yes, that makes sense.

Cheers,
Greg



Re: psql: Option to use expanded mode for various meta-commands

От
Dean Rasheed
Дата:
On Thu, 9 Jan 2025 at 03:18, Greg Sabino Mullane <htamfids@gmail.com> wrote:
>
> On Wed, Jan 8, 2025 at 8:44 AM Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>>
>> Attached is a more complete patch
>
> +1, looks good
>

Thanks for looking. I've pushed this now.

(I realised that I had missed \lo_list, so I added support for that
too, since it would have been odd to allow "x" in \dl, but not
\lo_list.)

Regards,
Dean