Обсуждение: change ON CONFLICT UPDATE

Поиск
Список
Период
Сортировка

change ON CONFLICT UPDATE

От
jian he
Дата:
hi.

in doc/src/sgml/ref/create_view.sgml,
I want change two occurrences of
<literal>ON CONFLICT UPDATE</literal>
to
<literal>ON CONFLICT DO UPDATE</literal>
(between line 412 to line 439).

since other places using <literal>ON CONFLICT DO UPDATE</literal>.



Re: change ON CONFLICT UPDATE

От
Laurenz Albe
Дата:
On Tue, 2025-11-25 at 22:47 +0800, jian he wrote:
> in doc/src/sgml/ref/create_view.sgml,
> I want change two occurrences of
> <literal>ON CONFLICT UPDATE</literal>
> to
> <literal>ON CONFLICT DO UPDATE</literal>
> (between line 412 to line 439).
>
> since other places using <literal>ON CONFLICT DO UPDATE</literal>.

+1

It is not very important, but consistency is always good.
Here is a patch for that.

Yours,
Laurenz Albe

Вложения

Re: change ON CONFLICT UPDATE

От
Bruce Momjian
Дата:
On Wed, Nov 26, 2025 at 10:52:10AM +0100, Laurenz Albe wrote:
> On Tue, 2025-11-25 at 22:47 +0800, jian he wrote:
> > in doc/src/sgml/ref/create_view.sgml,
> > I want change two occurrences of
> > <literal>ON CONFLICT UPDATE</literal>
> > to
> > <literal>ON CONFLICT DO UPDATE</literal>
> > (between line 412 to line 439).
> > 
> > since other places using <literal>ON CONFLICT DO UPDATE</literal>.
> 
> +1
> 
> It is not very important, but consistency is always good.
> Here is a patch for that.

Agreed, patch applied, thanks.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.



Re: change ON CONFLICT UPDATE

От
Laurenz Albe
Дата:
On Mon, 2025-12-22 at 19:42 -0500, Bruce Momjian wrote:
> Agreed, patch applied, thanks.

Thank you!

Laurenz Albe