Re: Separate psql commands from arguments

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Decibel! <decibel(at)decibel(dot)org>, Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Brendan Jurd <direvus(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Separate psql commands from arguments
Date: 2008-04-12 08:54:35
Message-ID: 5915B01003077D56DE2A60DA@imhotep.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On Freitag, April 11, 2008 13:53:11 -0500 Decibel! <decibel(at)decibel(dot)org>
wrote:

> As Bernd said, I see this as simple search and replace, and then stick it
> in the command buffer. If you define an alias that calls itself, you
> could end up with a stack overflow, same as with server functions.

The current implementation behaves the same as any other shell alias
implementation i've seen: aliases are substituted exactly one time.

--
Thanks

Bernd

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message PFC 2008-04-12 09:28:43 Re: Cached Query Plans
Previous Message Brendan Jurd 2008-04-12 08:12:44 Re: printTable API (was: Show INHERIT in \du)