diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2023-01-22 14:08:46 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2023-01-22 14:08:46 -0500 |
commit | 5a3a95385bd5a8f1a4fd50545b7efe9338581899 (patch) | |
tree | 9c90b781d4c5ccfdfe361e179c364b34c91137ac /src/backend/utils/adt/arrayfuncs.c | |
parent | c9f7f926484d69e2806e35343af7e472fadfede7 (diff) | |
download | postgresql-5a3a95385bd5a8f1a4fd50545b7efe9338581899.tar.gz postgresql-5a3a95385bd5a8f1a4fd50545b7efe9338581899.zip |
Track logrep apply workers' last start times to avoid useless waits.
Enforce wal_retrieve_retry_interval on a per-subscription basis,
rather than globally, and arrange to skip that delay in case of
an intentional worker exit. This probably makes little difference
in the field, where apply workers wouldn't be restarted often;
but it has a significant impact on the runtime of our logical
replication regression tests (even though those tests use
artificially-small wal_retrieve_retry_interval settings already).
Nathan Bossart, with mostly-cosmetic editorialization by me
Discussion: https://postgr.es/m/20221122004119.GA132961@nathanxps13
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions