when COPY violates Primary Keys

Поиск
Список
Период
Сортировка
От Joao Ferreira gmail
Тема when COPY violates Primary Keys
Дата
Msg-id 1223577761.6634.39.camel@jmf-ubuntu
обсуждение исходный текст
Ответы Re: when COPY violates Primary Keys  (Chris <dmagick@gmail.com>)
Список pgsql-general
Hello all,

I have a ascii dump file based on the COPY operation.

lets say I restore this dump into a live database with applications
doing INSERTs and UPDATEs onto it.

in case the COPY of a register causes a primary key (or UNIQUE, or FK)
violation does the psql restore command try to continue the operation
until it has parsed the whole dump, or does it abort on the first
violation ?

thx
Joao



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

Предыдущее
От: "David Wilson"
Дата:
Сообщение: Re: Question About UNION
Следующее
От: Josh Williams
Дата:
Сообщение: Re: Question About UNION