Re: psql slash command '\G'

From: Christopher Masto <chris(at)netmonger(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Ian Barwick <barwick(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: psql slash command '\G'
Date: 2002-03-27 21:30:31
Message-ID: 20020327213030.GA59107@netmonger.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Sun, Mar 24, 2002 at 09:27:24PM -0500, Peter Eisentraut wrote:
> Ian Barwick writes:
>
> > The proposed slash command '\G' performs the same function as
> > the existing command '\g' (send query buffer to server and optionally
> > results to a file or pipe) but silently toggles expanded output mode
> > immediately before and immediately after sending the query buffer to
> > the backend.
>
> Sorry, this strikes me as a very random solution to a very particular
> problem. Tomorrow someone comes with a patch to do an implicit \a during
> \g -- what letter does he take?

I rather like this, actually. mysql has exactly this command, and
I use it quite a bit.
--
Christopher Masto

CB461C61 8AFC E3A8 7CE5 9023 B35D C26A D849 1F6E CB46 1C61

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Nicolas Bazin 2002-03-27 22:34:53 Re: build of 7.2.1 on SCO Openserver and Unixware 7.1.1
Previous Message Tom Lane 2002-03-27 15:30:06 Re: build of 7.2.1 on SCO Openserver and Unixware 7.1.1