On Wednesday, June 12, 2024, Chema <chema@xxxxxxxxxxxxx> wrote:
Create Role justintestin noinherit login password 'qwer';
GRANT pg_execute_server_program TO justintestin;
Pretty sure since you choose not to allow justintestin to inherit stuff you will need to issue a “set role to pg_execute_server_program” before you attempt the copy command.
David J.