Re: psql man page error?
От | Bruce Momjian |
---|---|
Тема | Re: psql man page error? |
Дата | |
Msg-id | 200612061546.kB6Fkur15136@momjian.us обсуждение исходный текст |
Ответ на | Re: psql man page error? (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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 по дате отправления: