Re: feature idea

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: depesz(at)depesz(dot)com
Cc: Steve Crawford <scrawford(at)pinpointresearch(dot)com>, "pgsql-general(at)postgresql(dot)org >> pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: feature idea
Date: 2008-10-06 23:06:58
Message-ID: 28502.1223334418@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hubert depesz lubaczewski <depesz(at)depesz(dot)com> writes:
> On Mon, Oct 06, 2008 at 11:45:44AM -0700, Steve Crawford wrote:
>> What's wrong with:
>> \o '| gzip -c - > foo.gz'
>> \d
>> \o

> it's too long. and it requires disabling. i'd like something that would
> work exactly like unix pipe - send input of one command to another.

The fact that it's possible now means that the case for adding syntax
for it is extremely weak. You'd need to convince people that this is so
useful that we should go to the trouble of figuring out how to shoehorn
it into the syntax of every backslash command (and in at least some
cases that'd be pretty tricky). Given that it never got requested
before, I think it'll be hard to show that.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ben Chobot 2008-10-07 00:24:37 Can update triggers detect the column in the update statement?
Previous Message Joseph S 2008-10-06 22:13:56 Re: Static functions