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.
There's no built-in method; you'll need to write a script of some sort
to import the data or convert it to delimited format.
-Doug