![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, I need to write a shell script that can be run by cron to automatically load data into a PostgreSQL database. I have been experimenting with the copy command in psql and I have a few questions. How can I run a copy command from a script? You can either run the command directly from postgres' cron: |
|
What is the usage for the copy command when getting data from stdin? Kind Regards, Keith ______________________________________________ 99main Internet Services http://www.99main.com ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your message can get through to the mailing list cleanly |
![]() |
| Thread Tools | |
| Display Modes | |
| |