postgresql/src/include/replication
Michael Paquier 943f7ae1c8 Add lookup table for replication slot conflict reasons
This commit switches the handling of the conflict cause strings for
replication slots to use a table rather than being explicitly listed,
using a C99-designated initializer syntax for the array elements.  This
makes the whole more readable while easing future maintenance with less
areas to update when adding a new conflict reason.

This is similar to 74a7306310, but the scale of the change is smaller
as there are less conflict causes than LWLock builtin tranche names.

Author: Bharath Rupireddy
Reviewed-by: Jelte Fennema-Nio
Discussion: https://postgr.es/m/CALj2ACUxSLA91QGFrJsWNKs58KXb1C03mbuwKmzqqmoAKLwJaw@mail.gmail.com
2024-02-22 08:40:40 +09:00
..
decode.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
logical.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
logicallauncher.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
logicalproto.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
logicalrelation.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
logicalworker.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
message.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
origin.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
output_plugin.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
pgoutput.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
reorderbuffer.h Remove ReorderBufferTupleBuf structure. 2024-01-29 10:37:16 +09:00
slot.h Add lookup table for replication slot conflict reasons 2024-02-22 08:40:40 +09:00
slotsync.h Add a slot synchronization function. 2024-02-14 09:45:36 +05:30
snapbuild.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
syncrep.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
walreceiver.h Enhance libpqrcv APIs to support slot synchronization. 2024-02-05 10:54:06 +05:30
walsender.h Add a slot synchronization function. 2024-02-14 09:45:36 +05:30
walsender_private.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
worker_internal.h Update copyright for 2024 2024-01-03 20:49:05 -05:00