Re: Patch by request at pgcon

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Greg Stark <stark(at)mit(dot)edu>, "<pgsql-hackers(at)postgresql(dot)org>" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch by request at pgcon
Date: 2011-05-19 17:56:20
Message-ID: 1305827701-sup-604@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Stephen Frost's message of jue may 19 13:49:33 -0400 2011:
> * Alvaro Herrera (alvherre(at)commandprompt(dot)com) wrote:
> > Excerpts from Greg Stark's message of jue may 19 12:11:29 -0400 2011:
> > > 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.
>
> Afraid that I have to disagree.. The attnum (or, really, worse, since
> you'd have to actually count/number the non-dropped columns only..)
> doesn't strike me as being useful to the user for much of anything,
> especially since we don't have the number anywhere in the default
> listing.

Well, counting is not that hard (I mean if there's more than a
screenful, just watch the pager). But yeah, it's not the attnum.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2011-05-19 18:05:54 Re: Adding an example for replication configuration to pg_hba.conf
Previous Message Stephen Frost 2011-05-19 17:53:59 Re: Patch by request at pgcon