Re: psql command aliases support

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bernd Helmle <mailings(at)oopsware(dot)de>
Subject: Re: psql command aliases support
Date: 2008-04-01 15:58:30
Message-ID: 200804011758.31220.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bernd Helmle 2008-04-01 16:09:01 Re: psql command aliases support
Previous Message Tom Lane 2008-04-01 15:39:59 Re: psql command aliases support