In article <20031031135626(dot)H35878-100000(at)storm(dot)niwa(dot)co(dot)nz>,
Brent Wood <b(dot)wood(at)niwa(dot)co(dot)nz> writes:
> Is there an easy way (similar to COPY) to import fixed width text files
> directly into Postgres tables?
> COPY is fine for files with delimited fields, but I have fixed format text
> files to import into tables.
How about inserting the necessary delimiters with sed and piping sed's
output into "COPY FROM stdin"?