summaryrefslogtreecommitdiff
path: root/src/port/meson.build
diff options
context:
space:
mode:
authorAndres Freund2022-10-06 23:45:20 +0000
committerAndres Freund2022-10-07 00:17:16 +0000
commite0b0142959066f3a9de1c6867f4ec8d41d104f33 (patch)
tree24ce07203d35a3f37aaa8ba679e6c830fa138ed9 /src/port/meson.build
parentcd4e8caaa0eb5c3d3b12a45b29035e7a4bdfa4a8 (diff)
Create subscription stats entry at CREATE SUBSCRIPTION time
Previously, the subscription stats entry was created when the first stats, i.e., an error on apply worker or tablesync worker, were reported. Therefore, the stats_reset field was not updated by pg_stat_reset_subscription_stats() if the stats entry was not populated yet, which was different behavior than other statistics. This change creates the subscription stats entry and initializes it at CREATE SUBSCRIPTION time. Reviewed-by: Andres Freund <[email protected]> Reviewed-by: Amit Kapila <[email protected]> Author: Masahiko Sawada <[email protected]> Discussion: https://postgr.es/m/CAAKRu_Zqd-e5imT_3-ZiQv1cfsWuy16OJTiUaCvqpq4V7GVdSg@mail.gmail.com
Diffstat (limited to 'src/port/meson.build')
0 files changed, 0 insertions, 0 deletions