Re: psql command aliases support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bernd Helmle <mailings(at)oopsware(dot)de>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: psql command aliases support
Date: 2008-04-01 15:39:59
Message-ID: 3652.1207064399@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bernd Helmle <mailings(at)oopsware(dot)de> writes:
> please find attached a patch which implements psql command aliases. They
> work the same way as on bash, zsh and others, for example:

> #= \alias d \dt+
> #= \d

Do we really want such a thing? 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.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2008-04-01 15:58:30 Re: psql command aliases support
Previous Message tomas 2008-04-01 15:34:33 Re: [HACKERS] Avahi support for Postgresql