Re: importing a messy text file

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: importing a messy text file
Дата
Msg-id 20140430081349.GA5006@hermes.hilbert.loc
обсуждение исходный текст
Ответ на importing a messy text file  (Willy-Bas Loos <willybas@gmail.com>)
Ответы Re: importing a messy text file  (Willy-Bas Loos <willybas@gmail.com>)
Список pgsql-general
On Wed, Apr 30, 2014 at 10:07:09AM +0200, Willy-Bas Loos wrote:

> it would probably not be
> feasible to manually add tabs for every record that misses one, although i
> don't know how many it would be.

Why not a) let a script do that, b) remove tabs from the end
of lines as needed ?

All in all it sounds like you want to use a scripting
language to sanitize the file.

Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


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

Предыдущее
От: Rory Campbell-Lange
Дата:
Сообщение: Re: Security Issues: Allowing Clients to Execute SQL in the Backend.
Следующее
От: Alberto Cabello Sánchez
Дата:
Сообщение: Re: importing a messy text file