Idea Feedback: psql \h misses -> Offers Links?
От | Kirk Wolak |
---|---|
Тема | Idea Feedback: psql \h misses -> Offers Links? |
Дата | |
Msg-id | CACLU5mRAQNLpuCQZwmdj3rmijwaJ7x9u9EKWYc57xwVKQL9Fgw@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Idea Feedback: psql \h misses -> Offers Links?
Re: Idea Feedback: psql \h misses -> Offers Links? Re: Idea Feedback: psql \h misses -> Offers Links? |
Список | pgsql-hackers |
Hackers,
I often use the ctrl-click on the link after getting help in psql. A great feature.
Challenge, when there is no help, you don't get any link.
My thought process is to add a default response that would take them to
Example:
\h current_setting
No help available for "current_setting".
Try \h with no arguments to see available help.
No help available for "current_setting".
Try \h with no arguments to see available help.
To me, this is a huge step in helping me get to the docs.
This is Question 1: Do others see the potential value here?
Question 2: What if we allowed the users to set some extra link Templates using \pset??
\pset help_assist_link_1 = https://www.google.com/search?q={token}'
\pset help_assist_link_2 = 'https://wiki.postgresql.org/index.php?title=Special%3ASearch&search={token}&go=Go'
Such that the output, this time would be:
Example:
\h current_setting
No help available for "current_setting".
Try \h with no arguments to see available help.
No help available for "current_setting".
Try \h with no arguments to see available help.
This Latter feature, I would consider applying to even successful searches? [Based on Feedback here]
Thoughts?
В списке pgsql-hackers по дате отправления: