Re: MERGE Specification

Поиск
Список
Период
Сортировка
Искать
От
Simon Riggs
Тема
Re: MERGE Specification
Дата
Msg-id
1281084670.1838.2613.camel@ebony
Ответ на
Список
Дерево обсуждения
Re: MERGE Specification Chris Browne <cbbrowne@acm.org>
On Fri, 2010-08-06 at 16:26 +0800, Boxuan Zhai wrote:

> So, we need to add both DO NOTHING and RAISE ERROR actions in the
> MERGE command now !? What will RAISE ERROR do?

Let's get the rest of it working first. This would be a later extension,
though I think an important one for our developers.

> To stop the whole MERGE command OR, just throw an error notice for the
> row and move on.

As you say, it would be even better to be able to report errors in some
way and move onto next row. NOTICE is not the way though.

Maybe one of the actions would be to EXECUTE a procedure, so we can call
an error logging function.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Development, 24x7 Support, Training and Services


В списке pgsql-hackers по дате отправления
От: Mike Fowler
Дата:
Сообщение: Re: review: xml_is_well_formed
От: Robert Haas
Дата:
Сообщение: Re: review: xml_is_well_formed
FAQ