Combine psql command with shell script

Поиск
Список
Период
Сортировка
От John Wang
Тема Combine psql command with shell script
Дата
Msg-id 552211.97514.qm@web36401.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: Combine psql command with shell script  (John R Pierce <pierce@hogranch.com>)
Re: Combine psql command with shell script  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: Combine psql command with shell script  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
How to combine psql commands, such as "\copy", with shell script? Is there any sample code? For example, I have 10
tablesand want to user the "\copy" command to import data from 10 different text files. I can execute the "\copy"
command10 times. But it is not convenient. 

Thanks.




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

Предыдущее
От: Joseph S
Дата:
Сообщение: ERROR: table row type and query-specified row type do not match
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Combine psql command with shell script