Re: Fixed column format data

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Fixed column format data
Дата
Msg-id 200311062114.28741.shridhar_daithankar@myrealbox.com
обсуждение исходный текст
Ответ на Fixed column format data  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
On Thursday 06 November 2003 21:00, Greg Stark wrote:
> Is there any facility to import a text file that's in fixed column format?
> The copy command seems to use a delimiter only. I have no delimiter, but
> have specified column widths.
>
> Are the only ways to either do many insert queries, or preprocess the file
> into a delimited file and then copy?

Well, a simple C program would do the job, isn't it? Of course there could be
some scripting solutions but I don't have anything offhand..

 Shridhar


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Fixed column format data
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: [Erserver-general] New eRServer patch/fork release