Re: importing a messy text file

Поиск
Список
Период
Сортировка
От Alberto Cabello Sánchez
Тема Re: importing a messy text file
Дата
Msg-id 20140430101352.8ddca1584e36fd647bde7ce5@unex.es
обсуждение исходный текст
Ответ на importing a messy text file  (Willy-Bas Loos <willybas@gmail.com>)
Список pgsql-general
On Wed, 30 Apr 2014 10:07:09 +0200
Willy-Bas Loos <willybas@gmail.com> wrote:

> Hi,
>
> I have a 56GB textfile that i want to import into postgres.

!!!

> The problem is this:
> There is a tab after the last column, in many but not all records.

You could clean it up with something like s/^I$// , don't you?

--
Alberto Cabello Sánchez
<alberto@unex.es>


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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: importing a messy text file
Следующее
От: Chris Travers
Дата:
Сообщение: Re: Security Issues: Allowing Clients to Execute SQL in the Backend.