postgresql/src/backend/commands
Tom Lane 5a3a95385b 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
2023-01-22 14:08:46 -05:00
..
Makefile Move parallel vacuum code to vacuumparallel.c. 2021-12-23 11:42:52 +05:30
aggregatecmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
alter.c Wake up a subscription's replication worker processes after DDL. 2023-01-06 17:27:58 -05:00
amcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
analyze.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
async.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
cluster.c Fix MAINTAIN privileges for toast tables and partitions. 2023-01-14 00:16:23 -08:00
collationcmds.c Windows support in pg_import_system_collations 2023-01-03 14:21:56 +01:00
comment.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
constraint.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
conversioncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copy.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copyfrom.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copyfromparse.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copyto.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
createas.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dbcommands.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
define.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
discard.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dropcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
event_trigger.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
explain.c Use appendStringInfoSpaces in more places 2023-01-20 13:07:24 +13:00
extension.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
foreigncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
functioncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
indexcmds.c Fix MAINTAIN privileges for toast tables and partitions. 2023-01-14 00:16:23 -08:00
lockcmds.c Get rid of the "new" and "old" entries in a view's rangetable. 2023-01-18 13:23:57 -05:00
matview.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
opclasscmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
operatorcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
policy.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
portalcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
prepare.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
proclang.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
publicationcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
schemacmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
seclabel.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
sequence.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
statscmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
subscriptioncmds.c Track logrep apply workers' last start times to avoid useless waits. 2023-01-22 14:08:46 -05:00
tablecmds.c Allow REPLICA IDENTITY to be set on an index that's not (yet) valid. 2023-01-21 13:10:29 -05:00
tablespace.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
trigger.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
tsearchcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
typecmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
user.c Add new GUC createrole_self_grant. 2023-01-10 12:44:49 -05:00
vacuum.c Fix MAINTAIN privileges for toast tables and partitions. 2023-01-14 00:16:23 -08:00
vacuumparallel.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
variable.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
view.c Get rid of the "new" and "old" entries in a view's rangetable. 2023-01-18 13:23:57 -05:00