Re: Order of execution in shell echo to psql

Поиск
Список
Период
Сортировка
От David W Noon
Тема Re: Order of execution in shell echo to psql
Дата
Msg-id 20100502141206.6b66c2a7@memphis.local
обсуждение исходный текст
Ответ на Order of execution in shell echo to psql  (John Gage <jsmgage@numericable.fr>)
Ответы Re: Order of execution in shell echo to psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 2 May 2010 14:13:52 +0200, John Gage wrote abour [GENERAL]
Order of execution in shell echo to psql:

>I issue the following command to the shell:
>
>echo '\o file.txt \\ select * from table_name limit 10  \o ' | psql -- 
>host 'localhost' --port 5432 --username 'johngage' 'database_name'

Try putting a semi-colon at the end of your SQL query.  [Or try using
proper copy-and-paste when writing your messages.]
- -- 
Regards,

Dave  [RLU #314465]
======================================================================
dwnoon@ntlworld.com (David W Noon)
======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkvdeiwACgkQRQ2Fs59Psv/1FQCgw+m+tBm+5VtnMPFrMn+q6xnV
gwMAoNIHaCb3vVSyu35w8aJ9IZfmKV6g
=vnpA
-----END PGP SIGNATURE-----

В списке pgsql-general по дате отправления:

Предыдущее
От: John Gage
Дата:
Сообщение: Order of execution in shell echo to psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: int2vector