postgresql/src/include/replication
Michael Paquier 026ed8efd6 Remove code duplication for permission checks with replication slots
Two functions, both named check_permissions(), used the same checks to
verify if a user had required privileges to work on replication slots.
This commit removes the duplication, and moves the function doing the
checks to slot.c to be centralized.

Author: Bharath Rupireddy
Reviewed-by: Nathan Bossart, Euler Taveira
Discussion: https://postgr.es/m/CALj2ACUPpVw1u7sQocFVWrSs0n10pt_G_4NPZKSxXK6cW1dErw@mail.gmail.com
2021-09-14 10:15:49 +09:00
..
backup_manifest.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
basebackup.h Code review for server's handling of "tablespace map" files. 2021-03-17 16:18:46 -04:00
decode.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
logical.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
logicallauncher.h Allow multiple xacts during table sync in logical replication. 2021-02-12 07:41:51 +05:30
logicalproto.h Add logical change details to logical replication worker errcontext. 2021-08-27 08:30:23 +05:30
logicalrelation.h Don't try to print data type names in slot_store_error_callback(). 2021-07-02 16:04:54 -04:00
logicalworker.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
message.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
origin.h Add some const decorations 2021-06-10 16:21:48 +02:00
output_plugin.h Add a xid argument to the filter_prepare callback for output plugins. 2021-03-30 10:34:43 +05:30
pgoutput.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
reorderbuffer.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
slot.h Remove code duplication for permission checks with replication slots 2021-09-14 10:15:49 +09:00
snapbuild.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
syncrep.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
walreceiver.h Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30
walsender.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
walsender_private.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
worker_internal.h Optimize fileset usage in apply worker. 2021-09-02 08:13:46 +05:30