fix(plugin): do not append pgData if walName already contains it by armru · Pull Request #6964 · cloudnative-pg/cloudnative-pg

leonardoce

@armru @mnencia

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>

Endevir pushed a commit to Endevir/cloudnative-pg that referenced this pull request

Nov 6, 2025

leonardoce pushed a commit that referenced this pull request

Nov 12, 2025
This commit fixes incorrect walrestore path passed to plugins if
destination path is already absolute.

See #6964
Closes #9067

Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>

cnpg-bot pushed a commit that referenced this pull request

Nov 12, 2025
This commit fixes incorrect walrestore path passed to plugins if
destination path is already absolute.

See #6964
Closes #9067

Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
(cherry picked from commit 70d884f)

cnpg-bot pushed a commit that referenced this pull request

Nov 12, 2025
This commit fixes incorrect walrestore path passed to plugins if
destination path is already absolute.

See #6964
Closes #9067

Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
(cherry picked from commit 70d884f)

leonardoce pushed a commit that referenced this pull request

Nov 12, 2025
This commit fixes incorrect walrestore path passed to plugins if
destination path is already absolute.

See #6964
Closes #9067

Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
(cherry picked from commit 70d884f)

mnencia pushed a commit that referenced this pull request

Jan 20, 2026
This commit fixes incorrect walrestore path passed to plugins if
destination path is already absolute.

See #6964
Closes #9067

Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
(cherry picked from commit 70d884f)