Bruce Momjian <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to