Skip to content

Commit 8fc2670

Browse files
Kirill Reshkerobot-cloud-aw
authored andcommitted
Change storage class for mdb_replication utilities
1 parent 5319742 commit 8fc2670

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/include/replication/slot.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,11 @@ extern void CheckRoleMDBReplSlotPermissions(bool role_has_rolreplication, bool i
305305
*/
306306
extern void CheckRoleUseMDBReservedName(const char* name, bool role_has_rolreplication);
307307

308-
inline void CheckMDBReservedName(const char* name) {
308+
static inline void CheckMDBReservedName(const char* name) {
309309
CheckRoleUseMDBReservedName(name, has_rolreplication(GetUserId()));
310310
}
311311

312-
inline void CheckMDBReplSlotPermissions(void) {
312+
static inline void CheckMDBReplSlotPermissions(void) {
313313
Oid role;
314314
role = get_role_oid("mdb_replication", /* missing ok*/ true);
315315
return CheckRoleMDBReplSlotPermissions(has_rolreplication(GetUserId()), is_member_of_role(GetUserId(), role));

0 commit comments

Comments
 (0)