* Tom Lane (t...@sss.pgh.pa.us) wrote:
> Josh Berkus <j...@agliodbs.com> writes:
> >> But I may be trying to push water up a hill, so, I can live with
> >> adding \dfU and keeping \df as-was.
> 
> > BTW, why the capital?  \dfu is *considerably* easier to type than \dfU.
> 
> Because (1) its counterpart S is capitalized by historical tradition,
> and (2) we are going to apply this to all the variants of \d so we'd
> have a conflict with \du.  (Even if we special-cased our way out of the
> actual conflict, there would certainly be user confusion there.)
> 
> Also (3) you are not actually going to use this as much as you think
> you are, so saving a shift keypress is not the be-all and end-all.

Well, and (4), you could always 'remap' it, if you will:

-- obviously with \\dfU if it gets added
postgres*=> \set df '\\df'
postgres*=> :df

                           List of functions
                                                   [...]

I use ':r' for 'rollback;' all the time (not my idea, someone on IRC),
but a : tends to be as easy for me as \. <shrug>  I wouldn't complain
about a more generic aliasing ability in psql, mind you.

        Thanks,

                Stephen

Attachment: signature.asc
Description: Digital signature

Reply via email to