postgresql/src
Alvaro Herrera f9900df5f9
Avoid spurious wait in concurrent reindex
This is like commit c98763bf51, but for REINDEX CONCURRENTLY.  To wit:
this flags indicates that the current process is safe to ignore for the
purposes of waiting for other snapshots, when doing CREATE INDEX
CONCURRENTLY and REINDEX CONCURRENTLY.  This helps two processes doing
either of those things not deadlock, and also avoids spurious waits.

Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Dmitry Dolgov <9erthalion6@gmail.com>
Reviewed-by: Hamid Akhtar <hamid.akhtar@gmail.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/20201130195439.GA24598@alvherre.pgsql
2021-01-15 10:31:42 -03:00
..
backend Avoid spurious wait in concurrent reindex 2021-01-15 10:31:42 -03:00
bin pg_dump: label PUBLICATION TABLE ArchiveEntries with an owner. 2021-01-14 16:19:38 -05:00
common Rework refactoring of hex and encoding routines 2021-01-14 11:13:24 +09:00
fe_utils Update copyright for 2021 2021-01-02 13:06:25 -05:00
include Avoid spurious wait in concurrent reindex 2021-01-15 10:31:42 -03:00
interfaces Try next host after a "cannot connect now" failure. 2021-01-11 14:12:31 -05:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Fix plpgsql tests for debug_invalidate_system_caches_always. 2021-01-08 18:12:07 -05:00
port Move our p{read,write}v replacements into their own files. 2021-01-14 11:16:59 +13:00
template On macOS, use -isysroot in link steps as well as compile steps. 2020-11-20 00:07:09 -05:00
test Prevent drop of tablespaces used by partitioned relations 2021-01-14 15:32:14 -03:00
timezone Update copyright for 2021 2021-01-02 13:06:25 -05:00
tools Rework refactoring of hex and encoding routines 2021-01-14 11:13:24 +09:00
tutorial Doc, more or less: uncomment tutorial example that was fixed long ago. 2021-01-13 16:00:03 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Split Makefile symbol CFLAGS_VECTOR into two symbols. 2020-09-06 21:28:16 -04:00
Makefile.shlib Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00