public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Tom Lane <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: [email protected]
Cc: Simon Riggs <[email protected]>
Subject: Re: psql man page error?
Date: Wed, 6 Dec 2006 10:46:56 -0500 (EST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

Tom Lane wrote:
> Bruce Momjian <[email protected]> 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   [email protected]
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +


Attachments:

  [text/x-diff] /rtmp/diff (1.1K, 2-%2Frtmp%2Fdiff)
  download | inline diff:
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>


view thread (17+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: psql man page error?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox