Combine psql command with shell script

Поиск
Список
Период
Сортировка
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 по дате отправления: