pg.ddx.io  pgsql-ru-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergei Kornilov <sk@zsrv.org>
To: Dmitry E. Oboukhov <unera@debian.org>
To: pgsql-ru-general@postgresql.org <pgsql-ru-general@postgresql.org>
Subject: Re: CREATE INDEX CONCURRENTLY: Error: ERROR:  canceling statement due to lock timeout
Date: Thu, 30 Apr 2020 16:20:05 +0300
Message-ID: <514541588252560@mail.yandex.ru> (raw)
In-Reply-To: <60051588250046@mail.yandex.ru>
References: <60051588250046@mail.yandex.ru>

Привет

> Error: ERROR: canceling statement due to lock timeout

Это выводится только при срабатывании настройки lock_timeout.
Поставьте его в set lock_timeout to 0; в этой сессии.

regards, Sergei





view thread (2+ messages)

Message-ID: <514541588252560@mail.yandex.ru>
Permalink:  ../514541588252560@mail.yandex.ru/
Also on:    postgresql.org/message-id/514541588252560@mail.yandex.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-ru-general@postgresql.org
  Cc: sk@zsrv.org, unera@debian.org
  Subject: Re: CREATE INDEX CONCURRENTLY: Error: ERROR:  canceling statement due to lock timeout
  In-Reply-To: <514541588252560@mail.yandex.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox