Re: New 'pg' consolidated metacommand patch

Поиск
Список
Период
Сортировка
От Isaac Morland
Тема Re: New 'pg' consolidated metacommand patch
Дата
Msg-id CAMsGm5cUcQYhOt7W+vz4GFQETQ49zr8j6gnhxuUt=uOZB3tXFQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: New 'pg' consolidated metacommand patch  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: New 'pg' consolidated metacommand patch  (Christopher Browne <cbbrowne@gmail.com>)
Список pgsql-hackers
On Wed, 27 May 2020 at 16:00, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
 
Also consider some practical concerns with the command structure you
describe: Tab completion of commands wouldn't work anymore, unless you
supply custom tab completion setups.  The direct association between a
command and its man page would be broken.  Shell scripting becomes more
challenging:  Instead of writing common things like "if which
pg_waldump; then" you'd need some custom code, to be determined.  These
are all solvable, but just a sum of slight annoyances, for no real benefit.

I don’t think the man page concern is justified. We could have a “help” subcommand, just like git; “git help add” is (to a casual observer; probably not precisely) the same as “man git-add”.

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: future pg+llvm compilation is broken
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: New 'pg' consolidated metacommand patch