Re: psql man page error?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-docs(at)postgresql(dot)org
Subject: Re: psql man page error?
Date: 2006-12-05 18:14:45
Message-ID: 8124.1165342485@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> I think the proper fix is:

> <application>psql</application>, like this: <literal>echo -e
> "\\x\nSELECT * FROM foo;" | psql</literal>.

> I think all modern operating systems understand echo -e at this point.

No, they don't, and neither does the Single Unix Spec:
http://www.opengroup.org/onlinepubs/007908799/xcu/echo.html

So your version of the example depends on non-standards-compliant
echo behavior, which is not better than before.

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Simon Riggs 2006-12-05 19:57:55 Re: psql man page error?
Previous Message Bruce Momjian 2006-12-05 17:41:00 Re: psql man page error?