Re: psql and \p\g - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: psql and \p\g
Date
Msg-id Pine.LNX.4.20.9911112233310.442-100000@peter-e.yi.org
Whole thread Raw
In response to psql and \p\g  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: psql and \p\g  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
On 1999-11-11, Bruce Momjian mentioned:

> I have found that typing:
> 
>     test=> select * from pg_class\p\g
> 
> no longer works.  I honors the \p, but ignores the \g.
> 
> Any ideas Peter?

select * from foo \p \g

This was done to normalize the grammar a little bit (haha, very
funny). In particular it allows this sort of stuff:
=> select * from foo \p \o out.txt \g \\ select * from foo 2 \x \g
etc.

Is it *really* necessary to be able to omit the space?

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: AW: [HACKERS] Re: [GENERAL] users in Postgresql
Next
From: Peter Eisentraut
Date:
Subject: Re: failure of \e in psql