Re: Fixed field text import

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: Fixed field text import
Дата
Msg-id puwuahxtk9.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на Re: Automatic auditing suggestion  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список pgsql-general
In article <20031031135626.H35878-100000@storm.niwa.co.nz>,
Brent Wood <b.wood@niwa.co.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"?

В списке pgsql-general по дате отправления:

Предыдущее
От: Andrew Ayers
Дата:
Сообщение: Re: ALTER Table (another)
Следующее
От: Alexandr S
Дата:
Сообщение: question