psql tab completion: \c [ dbname [ username ] ]

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

psql tab completion: \c [ dbname [ username ] ]

От:
Ian Barwick <ian@2ndquadrant.com>
Дата:
Вложения:
Hi

Attached is a mighty trivial patch to extend psql tab completion
for \c / \connect to generate a list of role names, as lack thereof
was annoying me recently and I can't see any downside to doing
this.

The patch is a whole two lines so I haven't submitted it to the next
commitfest but will happily do so if appropriate.

Regards


Ian Barwick

-- 
 Ian Barwick                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Re: psql tab completion: \c [ dbname [ username ] ]

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Sun, Nov 9, 2014 at 6:13 PM, Ian Barwick  wrote:
> Attached is a mighty trivial patch to extend psql tab completion
> for \c / \connect to generate a list of role names, as lack thereof
> was annoying me recently and I can't see any downside to doing
> this.

Committed, thanks.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Re: psql tab completion: \c [ dbname [ username ] ]

От:
Ian Barwick <ian@2ndquadrant.com>
Дата:
On 10/11/14 22:20, Robert Haas wrote:
> On Sun, Nov 9, 2014 at 6:13 PM, Ian Barwick  wrote:
>> Attached is a mighty trivial patch to extend psql tab completion
>> for \c / \connect to generate a list of role names, as lack thereof
>> was annoying me recently and I can't see any downside to doing
>> this.
>
> Committed, thanks.

Many thanks!


Regards

Ian Barwick

--  Ian Barwick                   http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services


FAQ