Re: Is there a PostgreSQL utility that is similiar to Oracles

Поиск
Список
Период
Сортировка
От Madison Kelly
Тема Re: Is there a PostgreSQL utility that is similiar to Oracles
Дата
Msg-id 455E27E3.2060104@alteeve.com
обсуждение исходный текст
Ответ на Is there a PostgreSQL utility that is similiar to Oracles sql loader?  ("Wm.A.Stafford" <stafford@marine.rutgers.edu>)
Список pgsql-general
Wm.A.Stafford wrote:
> We  are trying  to load our PostgreSQL DB with data that contains many
> corrupted rows.  I recall that sql loader will skip corrupted rows and
> keep  going.  We are using the PostgreSQL copy command to load and it
> just gives up when the first corrupted row is encountered.
>
> Thanks in a advance,
> -=bill

This might not help, but I don't know of a tool to do what you want (I
am not an experts, others here may).

How difficult would it be to write a script (perl?) to read in the dump
file and translate all of the COPY... calls into individual INSERTs with
autocommit on and just log the bad rows? Sorry if this doesn't help. :)

Madi

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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Copy command to load data into a PostgreSQL DB
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Is there a PostgreSQL utility that is similiar to Oracles sql loader?