| От | peter@vfemail.net |
|---|---|
| Тема | Redirecting output from a SELECT command |
| Дата | |
| Msg-id | 20101111180537.8E9CD1336971@mail.postgresql.org обсуждение исходный текст |
| Ответы |
Re: Redirecting output from a SELECT command
|
| Список | pgsql-novice |
From a shell prompt in FreeBSD, I can use a command like:
cat file.txt | mail email@domain.com
to e-mail the contents of a file somewhere.
Is it possible from a PostgreSQL pgsql> shell prompt to e-mail the results of a:
select * from table;
command somewhere?
I'd like to share a printed copy of that output with someone, and there's no printer connected to the database server,
andI only have access to the database server from the console.
-------------------------------------------------
This message sent via VFEmail.net
http://www.vfemail.net
$14.95 Lifetime accounts - 1GB disk, No bandwidth quotas!
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера