Обсуждение: [COMMITTERS] pgsql: Generate pg_basebackup temporary slot name using backend pid

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Generate pg_basebackup temporary slot name using backend pid

От
Magnus Hagander
Дата:
Generate pg_basebackup temporary slot name using backend pid

Using the client pid can easily be non-unique when used on different
hosts. Using the backend pid should be guaranteed unique, since the
temporary slot gets removed when the client disconnects so it will be
gone even if the pid is renewed.

Reported by Ludovic Vaugeois-Pepin

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2712da8b64b4e399a2666cce2c25329f4f834f2d

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)