Re: psql command aliases support - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: psql command aliases support
Date
Msg-id 200804011758.31220.peter_e@gmx.net
Whole thread Raw
In response to Re: psql command aliases support  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql command aliases support
List pgsql-patches
Am Dienstag, 1. April 2008 schrieb Tom Lane:
> Do we really want such a thing?

Yes!

> The space of backslash command names
> is so densely populated already that it's hard to imagine creating
> aliases without conflicting with existing (or future) command names
> --- as indeed your example does.  It seems like mostly a recipe for
> confusion.

This is a standard feature and effect on shells.  Shells have even more likely
commands and conflicts, and still aliases are widely used.  If people are
concerned about conflicts, they shouldn't use aliases.

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql command aliases support
Next
From: Bernd Helmle
Date:
Subject: Re: psql command aliases support