Re: Confusing bit in the "EXAMPLES" section for INSERT

Поиск
Список
Период
Сортировка
От Erwin Brandstetter
Тема Re: Confusing bit in the "EXAMPLES" section for INSERT
Дата
Msg-id CAGHENJ5prr3c-BJTtoSy2iEqVE1V9hg6rK1VChcpVCd2CgDWWQ@mail.gmail.com
обсуждение исходный текст
Ответ на Confusing bit in the "EXAMPLES" section for INSERT  (Erwin Brandstetter <brsaweda@gmail.com>)
Список pgsql-docs
Added a missing word:

Insert a distributor, or do nothing if the proposed row conflicts with an existing row. Per-row triggers BEFORE INSERT are fired, and possible effects on the proposed row applied, before checking for conflicts. Example assumes a unique index on the did column exists:

Regards
Erwin

On Tue, 16 Aug 2022 at 23:09, Erwin Brandstetter <brsaweda@gmail.com> wrote:

Insert a distributor, or do nothing for rows proposed for insertion when an existing, excluded row (a row with a matching constrained column or columns after before row insert triggers fire) exists. Example assumes a unique index has been defined that constrains values appearing in the did column:

Suggesting this as replacement:

Insert a distributor, or do nothing if the proposed row conflicts with an existing row. Per-row triggers BEFORE INSERT are fired, and possible effects on the proposed applied, before checking for conflicts. Example assumes a unique index on the did column exists:

Regards
Erwin

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

Предыдущее
От: Erwin Brandstetter
Дата:
Сообщение: Confusing bit in the "EXAMPLES" section for INSERT
Следующее
От: Erwin Brandstetter
Дата:
Сообщение: Re: Confusing bit in the "EXAMPLES" section for INSERT