Re: psql man page error? - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: psql man page error?
Date
Msg-id 200612061546.kB6Fkur15136@momjian.us
Whole thread Raw
In response to Re: psql man page error?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > !       pipe the string into <application>psql</application>, like
> > !       this: <literal>echo "\x \\ SELECT * FROM foo;" | psql</literal>.
>
> This should probably use single quotes not double, hm?

Yep, done.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/ref/psql-ref.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v
retrieving revision 1.177
diff -c -c -r1.177 psql-ref.sgml
*** doc/src/sgml/ref/psql-ref.sgml    6 Dec 2006 15:40:11 -0000    1.177
--- doc/src/sgml/ref/psql-ref.sgml    6 Dec 2006 15:46:30 -0000
***************
*** 89,95 ****
        <acronym>SQL</acronym> and <application>psql</application>
        meta-commands with this option. To achieve that, you could
        pipe the string into <application>psql</application>, like
!       this: <literal>echo "\x \\ SELECT * FROM foo;" | psql</literal>.
        (<literal>\\</> is the separator meta-command.)
        </para>
        <para>
--- 89,95 ----
        <acronym>SQL</acronym> and <application>psql</application>
        meta-commands with this option. To achieve that, you could
        pipe the string into <application>psql</application>, like
!       this: <literal>echo '\x \\ SELECT * FROM foo;' | psql</literal>.
        (<literal>\\</> is the separator meta-command.)
        </para>
        <para>

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql man page error?
Next
From: James Robinson
Date:
Subject: create index concurrently docs ...