diff options
author | Masahiko Sawada <msawada@postgresql.org> | 2023-06-09 10:43:03 +0900 |
---|---|---|
committer | Masahiko Sawada <msawada@postgresql.org> | 2023-06-09 10:43:03 +0900 |
commit | a83edeaf684a70da02fa2bce8b7e3aefa3f906f5 (patch) | |
tree | 0d5cc97af81c521754ca0ac919de5a4ae835e7d3 /src/test/perl/PostgreSQL | |
parent | 26eaf82e7138890022d5d06b77eb745524542fb7 (diff) | |
download | postgresql-a83edeaf684a70da02fa2bce8b7e3aefa3f906f5.tar.gz postgresql-a83edeaf684a70da02fa2bce8b7e3aefa3f906f5.zip |
Honor run_as_owner option in tablesync worker.
Commit 482675987 introduced "run_as_owner" subscription option so that
subscription runs with either the permissions of the subscription
owner or the permission of the table owner. However, tablesync workers
did not use this option for the initial data copy.
With this change, tablesync workers run with appropriate permissions
based on "run_as_owner" option.
Ajin Cherian, with changes and regression tests added by me.
Reported-By: Amit Kapila
Author: Ajin Cherian, Masahiko Sawada
Reviewed-by: Ajin Cherian, Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1L=qzRHPEn+qeMoKQGFBzqGoLBzt_ov0A89iFFiut+ppA@mail.gmail.com
Diffstat (limited to 'src/test/perl/PostgreSQL')
0 files changed, 0 insertions, 0 deletions