postgresql/src
Amit Kapila 3e577ff602 Optimize the origin drop functionality.
To interlock against concurrent drops, we use to hold ExclusiveLock on
pg_replication_origin till xact commit. This blocks even concurrent drops
of different origins by tablesync workers. So, instead, lock the specific
origin to interlock against concurrent drops.

This reduces the test time variability in src/test/subscription where
multiple tables are being synced.

Author: Vignesh C
Reviewed-by: Hou Zhijie, Amit Kapila
Discussion: https://postgr.es/m/1412708.1674417574@sss.pgh.pa.us
2023-02-03 08:29:08 +05:30
..
backend Optimize the origin drop functionality. 2023-02-03 08:29:08 +05:30
bin Try to fix pg_upgrade test on Windows, again. 2023-02-01 14:40:25 +13:00
common Refactor rmtree() to use get_dirent_type(). 2023-01-31 13:46:25 +13:00
fe_utils Refactor code for restoring files via shell commands 2023-01-18 11:15:48 +09:00
include Further refactor of heapgettup and heapgettup_pagemode 2023-02-03 11:48:39 +13:00
interfaces meson: Fix typo in pkgconfig generation 2023-02-01 18:14:01 +01:00
makefiles Update copyright for 2023 2023-01-02 15:00:37 -05:00
pl plpython: Stop undefining _POSIX_C_SOURCE, _XOPEN_SOURCE 2023-01-25 09:59:26 -08:00
port Remove gratuitous references to postmaster program 2023-01-26 10:48:32 +01:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Allow the logical_replication_mode to be used on the subscriber. 2023-02-02 08:15:18 +05:30
timezone Update time zone data files to tzdata release 2022g. 2023-01-31 17:36:55 -05:00
tools Document installing perltidy with cpanm 2023-02-02 08:54:38 -05:00
tutorial Update copyright for 2023 2023-01-02 15:00:37 -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 autoconf: Move export_dynamic determination to configure 2022-12-06 18:55:28 -08:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00