summaryrefslogtreecommitdiff
path: root/src/test/regress/expected/test_setup.out
diff options
context:
space:
mode:
authorAndres Freund2022-04-07 01:26:17 +0000
committerAndres Freund2022-04-07 01:38:24 +0000
commite41aed674f35c63380175bb0e2dfa8dccfb2204d (patch)
tree2df5379b72989cd9c77a50fa9f4e995fed7e1e89 /src/test/regress/expected/test_setup.out
parent8b1dccd37c71ed2ff016294d8f9053a32b02b19e (diff)
pgstat: revise replication slot API in preparation for shared memory stats.
Previously the pgstat <-> replication slots API was done with on the basis of names. However, the upcoming move to storing stats in shared memory makes it more convenient to use a integer as key. Change the replication slot functions to take the slot rather than the slot name, and expose ReplicationSlotIndex() to compute the index of an replication slot. Special handling will be required for restarts, as the index is not stable across restarts. For now pgstat internally still uses names. Rename pgstat_report_replslot_{create,drop}() to pgstat_{create,drop}_replslot() to match the functions for other kinds of stats. Reviewed-By: Kyotaro Horiguchi <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/test/regress/expected/test_setup.out')
0 files changed, 0 insertions, 0 deletions