public inbox for [email protected]help / color / mirror / Atom feed
pgsql: pg_recvlogical: Honor source cluster file permissions for output 6+ messages / 1 participants [nested] [flat]
* pgsql: pg_recvlogical: Honor source cluster file permissions for output @ 2026-05-20 06:57 Fujii Masao <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Fujii Masao @ 2026-05-20 06:57 UTC (permalink / raw) To: [email protected] pg_recvlogical: Honor source cluster file permissions for output files Commit c37b3d08ca6 attempted to preserve group permissions on pg_recvlogical output files when group access was enabled on the source cluster. However, the output files were still created with a fixed S_IRUSR | S_IWUSR mode, preventing group-read permissions from being applied. This commit fixes the issue by creating output files with pg_file_create_mode instead of a hard-coded mode. This allows pg_recvlogical to correctly preserve group permissions from the source cluster. Backpatch to all supported branches. Author: Fujii Masao <[email protected]> Reviewed-by: Srinath Reddy Sadipiralla <[email protected]> Discussion: https://postgr.es/m/CAHGQGwHhpizYzMo3nFP4GkNMueSNMY3QfC-gBN1VTXtuiANDvw@mail.gmail.com Backpatch-through: 14 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/263d1e6dfeec5e573db4f78e6dac4bb17259c482 Modified Files -------------- doc/src/sgml/ref/pg_recvlogical.sgml | 2 +- src/bin/pg_basebackup/pg_recvlogical.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_recvlogical: Honor source cluster file permissions for output @ 2026-05-20 06:58 Fujii Masao <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Fujii Masao @ 2026-05-20 06:58 UTC (permalink / raw) To: [email protected] pg_recvlogical: Honor source cluster file permissions for output files Commit c37b3d08ca6 attempted to preserve group permissions on pg_recvlogical output files when group access was enabled on the source cluster. However, the output files were still created with a fixed S_IRUSR | S_IWUSR mode, preventing group-read permissions from being applied. This commit fixes the issue by creating output files with pg_file_create_mode instead of a hard-coded mode. This allows pg_recvlogical to correctly preserve group permissions from the source cluster. Backpatch to all supported branches. Author: Fujii Masao <[email protected]> Reviewed-by: Srinath Reddy Sadipiralla <[email protected]> Discussion: https://postgr.es/m/CAHGQGwHhpizYzMo3nFP4GkNMueSNMY3QfC-gBN1VTXtuiANDvw@mail.gmail.com Backpatch-through: 14 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/89b4b3ae35d2f38aa0e12b147c92c99262c6d146 Modified Files -------------- doc/src/sgml/ref/pg_recvlogical.sgml | 2 +- src/bin/pg_basebackup/pg_recvlogical.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_recvlogical: Honor source cluster file permissions for output @ 2026-05-20 06:58 Fujii Masao <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Fujii Masao @ 2026-05-20 06:58 UTC (permalink / raw) To: [email protected] pg_recvlogical: Honor source cluster file permissions for output files Commit c37b3d08ca6 attempted to preserve group permissions on pg_recvlogical output files when group access was enabled on the source cluster. However, the output files were still created with a fixed S_IRUSR | S_IWUSR mode, preventing group-read permissions from being applied. This commit fixes the issue by creating output files with pg_file_create_mode instead of a hard-coded mode. This allows pg_recvlogical to correctly preserve group permissions from the source cluster. Backpatch to all supported branches. Author: Fujii Masao <[email protected]> Reviewed-by: Srinath Reddy Sadipiralla <[email protected]> Discussion: https://postgr.es/m/CAHGQGwHhpizYzMo3nFP4GkNMueSNMY3QfC-gBN1VTXtuiANDvw@mail.gmail.com Backpatch-through: 14 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ddd12d1a5c4d980c5f31dc7d096012547b724e55 Modified Files -------------- doc/src/sgml/ref/pg_recvlogical.sgml | 2 +- src/bin/pg_basebackup/pg_recvlogical.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_recvlogical: Honor source cluster file permissions for output @ 2026-05-20 06:58 Fujii Masao <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Fujii Masao @ 2026-05-20 06:58 UTC (permalink / raw) To: [email protected] pg_recvlogical: Honor source cluster file permissions for output files Commit c37b3d08ca6 attempted to preserve group permissions on pg_recvlogical output files when group access was enabled on the source cluster. However, the output files were still created with a fixed S_IRUSR | S_IWUSR mode, preventing group-read permissions from being applied. This commit fixes the issue by creating output files with pg_file_create_mode instead of a hard-coded mode. This allows pg_recvlogical to correctly preserve group permissions from the source cluster. Backpatch to all supported branches. Author: Fujii Masao <[email protected]> Reviewed-by: Srinath Reddy Sadipiralla <[email protected]> Discussion: https://postgr.es/m/CAHGQGwHhpizYzMo3nFP4GkNMueSNMY3QfC-gBN1VTXtuiANDvw@mail.gmail.com Backpatch-through: 14 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9590dcfca498879678fe4d280f7b21fff0cbfff9 Modified Files -------------- doc/src/sgml/ref/pg_recvlogical.sgml | 2 +- src/bin/pg_basebackup/pg_recvlogical.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_recvlogical: Honor source cluster file permissions for output @ 2026-05-20 06:58 Fujii Masao <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Fujii Masao @ 2026-05-20 06:58 UTC (permalink / raw) To: [email protected] pg_recvlogical: Honor source cluster file permissions for output files Commit c37b3d08ca6 attempted to preserve group permissions on pg_recvlogical output files when group access was enabled on the source cluster. However, the output files were still created with a fixed S_IRUSR | S_IWUSR mode, preventing group-read permissions from being applied. This commit fixes the issue by creating output files with pg_file_create_mode instead of a hard-coded mode. This allows pg_recvlogical to correctly preserve group permissions from the source cluster. Backpatch to all supported branches. Author: Fujii Masao <[email protected]> Reviewed-by: Srinath Reddy Sadipiralla <[email protected]> Discussion: https://postgr.es/m/CAHGQGwHhpizYzMo3nFP4GkNMueSNMY3QfC-gBN1VTXtuiANDvw@mail.gmail.com Backpatch-through: 14 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ba9833a75175fda97ce593fb1f25eb423f5b9b08 Modified Files -------------- doc/src/sgml/ref/pg_recvlogical.sgml | 2 +- src/bin/pg_basebackup/pg_recvlogical.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_recvlogical: Honor source cluster file permissions for output @ 2026-05-20 06:58 Fujii Masao <[email protected]> 0 siblings, 0 replies; 6+ messages in thread From: Fujii Masao @ 2026-05-20 06:58 UTC (permalink / raw) To: [email protected] pg_recvlogical: Honor source cluster file permissions for output files Commit c37b3d08ca6 attempted to preserve group permissions on pg_recvlogical output files when group access was enabled on the source cluster. However, the output files were still created with a fixed S_IRUSR | S_IWUSR mode, preventing group-read permissions from being applied. This commit fixes the issue by creating output files with pg_file_create_mode instead of a hard-coded mode. This allows pg_recvlogical to correctly preserve group permissions from the source cluster. Backpatch to all supported branches. Author: Fujii Masao <[email protected]> Reviewed-by: Srinath Reddy Sadipiralla <[email protected]> Discussion: https://postgr.es/m/CAHGQGwHhpizYzMo3nFP4GkNMueSNMY3QfC-gBN1VTXtuiANDvw@mail.gmail.com Backpatch-through: 14 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5552a15a3ed2de5b7f0afab9d55f107ebd824d35 Modified Files -------------- doc/src/sgml/ref/pg_recvlogical.sgml | 2 +- src/bin/pg_basebackup/pg_recvlogical.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-05-20 06:58 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-05-20 06:57 pgsql: pg_recvlogical: Honor source cluster file permissions for output Fujii Masao <[email protected]> 2026-05-20 06:58 pgsql: pg_recvlogical: Honor source cluster file permissions for output Fujii Masao <[email protected]> 2026-05-20 06:58 pgsql: pg_recvlogical: Honor source cluster file permissions for output Fujii Masao <[email protected]> 2026-05-20 06:58 pgsql: pg_recvlogical: Honor source cluster file permissions for output Fujii Masao <[email protected]> 2026-05-20 06:58 pgsql: pg_recvlogical: Honor source cluster file permissions for output Fujii Masao <[email protected]> 2026-05-20 06:58 pgsql: pg_recvlogical: Honor source cluster file permissions for output Fujii Masao <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox