Re: Remove duplicate static function check_permissions in slotfuncs.c and logicalfuncs.c

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: Remove duplicate static function check_permissions in slotfuncs.c and logicalfuncs.c
Дата
Msg-id 5b631883-a23a-458c-a8a3-63d344b0df7c@www.fastmail.com
обсуждение исходный текст
Ответ на Remove duplicate static function check_permissions in slotfuncs.c and logicalfuncs.c  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: Remove duplicate static function check_permissions in slotfuncs.c and logicalfuncs.c  ("Bossart, Nathan" <bossartn@amazon.com>)
Список pgsql-hackers
On Sat, Sep 11, 2021, at 5:28 AM, Bharath Rupireddy wrote:
We have two static check_permissions functions (one in slotfuncs.c
another in logicalfuncs.c) with the same name and same code for
checking the privileges for using replication slots. Why can't we have
a single function CheckReplicationSlotPermissions in slot.c? This way,
we can get rid of redundant code. Attaching a patch for it.
Good catch! Your patch looks good to me.


--
Euler Taveira

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Schema variables - new implementation for Postgres 15
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: Private Information Retrieval (PIR) as a C/C++ Aggregate Extension