On Tue, Jul 26, 2016 at 9:48 AM, Dev Kumkar <devdas.kum...@gmail.com> wrote:
> On Tue, Jul 26, 2016 at 6:54 PM, David G. Johnston < > david.g.johns...@gmail.com> wrote: > >> Superuser: yes (specifically I'm thinking the COPY FROM PROGRAM command, >> but also C language functions) >> Ordinary user: not that I can think of. >> > > OK, is there a way to restrict usage of COPY FROM PROGRAM command? > > For superusers, no. You'd have to protect the system using external tools to limit what areas and commands the postgres (or whatever PostgreSQL runs as) user can access. David J.