data copy script

From: "Keith Worthington" <keithw(at)narrowpathinc(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: data copy script
Date: 2004-10-12 19:36:18
Message-ID: 20041012193618.M3177@narrowpathinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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?
What is the usage for the copy command when getting data from stdin?

Kind Regards,
Keith

______________________________________________
99main Internet Services http://www.99main.com

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Sean Davis 2004-10-12 19:50:51 Re: Postgresql for Dummies?
Previous Message Daniel Lerch 2004-10-12 18:52:34 Postgresql for Dummies?