Re: psql and \p\g

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql and \p\g
Date: 1999-11-11 21:36:26
Message-ID: Pine.LNX.4.20.9911112233310.442-100000@peter-e.yi.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-11-11 21:36:39 Re: AW: [HACKERS] Re: [GENERAL] users in Postgresql
Previous Message Peter Eisentraut 1999-11-11 21:33:08 Re: AW: [HACKERS] Re: [GENERAL] users in Postgresql