Re: psql slash command '\G' - Mailing list pgsql-patches

From Christopher Masto
Subject Re: psql slash command '\G'
Date
Msg-id 20020327213030.GA59107@netmonger.net
Whole thread Raw
In response to Re: psql slash command '\G'  (Peter Eisentraut <peter_e@gmx.net>)
List 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

pgsql-patches by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: SET NOT NULL / DROP NOT NULL as an HREF!
Next
From: David Wheeler
Date:
Subject: Mac OS X Startup Script