pgsql: Fix the SharedFileSetUnregister API.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Fix the SharedFileSetUnregister API.
Дата
Msg-id E1kCwJL-00033Q-Jn@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix the SharedFileSetUnregister API.

Commit 808e13b282 introduced a few APIs to extend the existing Buffile
interface. In SharedFileSetDeleteOnProcExit, it tries to delete the list
element while traversing the list with 'foreach' construct which makes the
behavior of list traversal unpredictable.

Author: Amit Kapila
Reviewed-by: Dilip Kumar
Tested-by: Dilip Kumar and Neha Sharma
Discussion: https://postgr.es/m/CAA4eK1JhLatVcQ2OvwA_3s0ih6Hx9+kZbq107cXVsSWWukH7vA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4ab77697f67aa5b90b032b9175b46901859da6d7

Modified Files
--------------
src/backend/storage/file/sharedfileset.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: document how the backup manifest is transferred
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Teach libpq to handle arbitrary-length lines in .pgpass files.