Search Postgresql Archives

Re: Importing undelimited files (Flat Files or Fixed-Length records)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In article <485AE3AA.3030700@xxxxxxxxxx>, Bill Thoen <bthoen@xxxxxxxxxx> wrote:
% I've got to load some large fixed-legnth ASCII records into PG and I was 
% wondering how this is done. The Copy command looks like it works only 
% with delimited files, and I would hate to have to convert these files to 
% INSERT-type SQL to run them through psql.. Is there a way one can 
% specify a table structure with raw field widths and then just pass it a 
% flat file?

pg_loader is supposed to handle this.

http://pgfoundry.org/projects/pgloader

-- 

Patrick TJ McPhee
North York  Canada
ptjm@xxxxxxxxxxxx


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux