Re: \describe*

Поиск
Список
Период
Сортировка
От Corey Huinker
Тема Re: \describe*
Дата
Msg-id CADkLM=fua6bDQEH94xDFV3zHGmhF=ktEXVRbq7FG50DjUV4BCw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: \describe*  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-hackers
It would be about as hard to memorize \describe-schemas as it is to memorize \dn:
You'd have to remember that it is "-" and not "_", that it is "describe", not "desc"
and that it is "schemas", not "schema".

You wouldn't memorize them.  You'd discover them with tab completion. 

Type "\d<tab>"  and you'll see
\d  \dA \dc \dd \ddp \des \deu \df \dFd \dFt \di \dL \dn \d0 \drds \dS \dT \dv \dy
\da \db \dC \dD \dE  \det \dew \dF \dFp \dg  \dl \dm \do \dp \ds   \dt \du \dx

which is more heat than light. Yes, those are all the possibilites, but I, Joe Newguy, want to list schemas, and \ds and \dS look like the good guesses, neither of which is the right answer.  If, with this feature, I typed \desc<tab>, I might see:

\describe  \describe-functions  \describe-schemas  \describe-tables
...

So my voyage of discovery would have completed with having typed "\desc<tab>-sc<tab>" and if we add a note to interactive mode, I'd be shown the hint that \dn is the shortcut for that just above the list of schemas.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: unique indexes on partitioned tables
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)