Re: Patch by request at pgcon - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Patch by request at pgcon
Date
Msg-id 1305822919-sup-3632@alvh.no-ip.org
Whole thread Raw
In response to Patch by request at pgcon  (Greg Stark <stark@mit.edu>)
Responses Re: Patch by request at pgcon  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Excerpts from Greg Stark's message of jue may 19 12:11:29 -0400 2011:
> A user at Pgcon made a pretty convincing case that it would sometimes
> be handy to be able to see a list of columns in alphabetical order in
> psql's \dt output. This is especially true when there are a very large
> number of columns and you're looking for a specific column with name
> matching some pattern in your head. Whie you could use your pager's
> search feature, people are also quite accustomed to visually searching
> for strings in sorted lists so that's a natural solution.
> 
> Adding such a feature would be pretty trivial, attached is a patch.

Interesting, but not so trivial I think -- I mean if you're doing this I
think you should add a column with the nominal position of the column in
the table, so that it enables you to find it quickly in the other sort
order.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: timezone GUC
Next
From: Alvaro Herrera
Date:
Subject: Re: LOCK DATABASE