Re: [PATCH v1] Add \echo_stderr to psql - Mailing list pgsql-hackers

From David Fetter
Subject Re: [PATCH v1] Add \echo_stderr to psql
Date
Msg-id 20190422134532.GV28936@fetter.org
Whole thread Raw
In response to Re: [PATCH v1] Add \echo_stderr to psql  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: [PATCH v1] Add \echo_stderr to psql
Re: [PATCH v1] Add \echo_stderr to psql
List pgsql-hackers
On Mon, Apr 22, 2019 at 09:04:08AM +0200, Fabien COELHO wrote:
> 
> Hello Corey,
> 
> > >    \warn ...
> > >    \warning ...
> > 
> > These two seem about the best to me, drawing from the perl warn command.
> 
> Yep, I was thinking of perl & gmake. Maybe the 4 letter option is better
> because its the same length as "echo".
> 
> > I suppose we could go the bash &2 route here, but I don't want to.
> 
> I agree on this one.

Please find attached v2, name is now \warn.

How might we test this portably?

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Do CustomScan as not projection capable node
Next
From: Robert Haas
Date:
Subject: Re: proposal: psql PSQL_TABULAR_PAGER variable