how do I capture conflicting rows

Поиск
Список
Период
Сортировка
От Nikhil Ingale
Тема how do I capture conflicting rows
Дата
Msg-id CALXkTpx3iLuGRx1_4N6GJ85ptoW4n4XSdh3ChJLE-hrFGC982g@mail.gmail.com
обсуждение исходный текст
Ответы Re: how do I capture conflicting rows
Re: how do I capture conflicting rows
Re: how do I capture conflicting rows
Список pgsql-admin
Hi All,

The following query inserts the rows by ignoring the rows that has conflicts.

INSERT INTO test (id,name,age,branch) SELECT * FROM student ON CONFLICT DO NOTHING;

How do I capture the conflicting records to a file while non conflicting records are inserted to the table?

Regards,
Nikhil Ingale

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

Предыдущее
От: Nikhil Ingale
Дата:
Сообщение: Re: Find out the indexed columns
Следующее
От: Ron
Дата:
Сообщение: Re: how do I capture conflicting rows