| От | Joao Ferreira gmail |
|---|---|
| Тема | databases list to file |
| Дата | |
| Msg-id | 1223561638.6634.26.camel@jmf-ubuntu обсуждение исходный текст |
| Ответы |
Re: databases list to file
Re: databases list to file |
| Список | pgsql-general |
Hello all, I need to print to a file a simple list of all the databases on my postgresql. I need to do this from a shell script to be executed without human intervention I guess something like: su postgres -c 'psql ...whatever.... > /tmp/my_databases.txt' but I don't know exactly to what extent I can format the output of this in order to simplify the parser that will read that file. any suggestions ? thank you joao
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера