aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-12-21 10:19:17 +0900
committerMichael Paquier <michael@paquier.xyz>2023-12-21 10:19:17 +0900
commitc161ab74f76af8e0f3c6b349438525ad9575683b (patch)
tree2e4b95165f3dc7f7bc5e734a779a2dab9e6b7848 /src/backend/executor/nodeModifyTable.c
parentbf6260b39da6ef34c7147d560c49f35d2bbf07c9 (diff)
downloadpostgresql-c161ab74f76af8e0f3c6b349438525ad9575683b.tar.gz
postgresql-c161ab74f76af8e0f3c6b349438525ad9575683b.zip
Add PostgreSQL::Test::Cluster::advance_wal
This is a function that makes a node jump by N WAL segments, which is something a couple of tests have been relying on for some cases related to streaming, replication slot limits and logical decoding on standbys. Hence, this centralizes the logic, while making it cheaper by relying on pg_logical_emit_message() to emit WAL records before switching to a new segment. Author: Bharath Rupireddy Reviewed-by: Kyotaro Horiguchi, Euler Taveira Discussion: https://postgr.es/m/CALj2ACU3R8QFCvDewHCMKjgb2w_-CMCyd6DAK=Jb-af14da5eg@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions