psql tab completion: \c [ dbname [ username ] ] - Mailing list pgsql-hackers

From Ian Barwick
Subject psql tab completion: \c [ dbname [ username ] ]
Date
Msg-id 545FF502.40201@2ndquadrant.com
Whole thread Raw
Responses Re: psql tab completion: \c [ dbname [ username ] ]  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: Column/type dependency recording inconsistencies
Next
From: Greg Stark
Date:
Subject: Re: BRIN indexes - TRAP: BadArgument