Forum OpenACS Q&A: Any utility that is similer to SQL Loader in PGSQL

Hi!,
I want to load the data from flat file. Is any utility in PGSQL which is similar to SQL Loader utility of Oracle?
Actually I want to load the n number of files which is comma separated. And we also required a log which says that how many data has been loaded and how many data not loaded. If not loaded then what was the reason behind this.
Please help............!

Regards,

Gautam

Collapse
Posted by Ashwin Kumar on
Hi goutam,

Just check out how package ref-us-countries does that

"packages/ref-us-counties/sql/postgresql/00-us-counties.ctl"
"packages/ref-us-counties/sql/common/us-counties.dat"


Regards,
Ashwin