Re: "permission denied to COPY to or from an external program" even with GRANT pg_execute_server_program

From: Chema <chema(at)interneta(dot)org>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: "permission denied to COPY to or from an external program" even with GRANT pg_execute_server_program
Date: 2024-06-13 01:53:43
Message-ID: CALdEsqPZTQFEtBsn2XB4dYuTQ6V4Uj65rrwk3ibqy3eDP59ivQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
>
> 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.
>

That was it! Blind paranoia bites my rear again. Thanks!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chandy G 2024-06-13 07:11:53 Re: postgres table statistics
Previous Message Tom Lane 2024-06-13 01:48:06 Re: "permission denied to COPY to or from an external program" even with GRANT pg_execute_server_program