Re: Support a`--with-copy-program` compile flag - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Support a`--with-copy-program` compile flag
Date
Msg-id aRTmWj4NcYuQDgCq@nathan
Whole thread Raw
In response to Support a`--with-copy-program` compile flag  (Steve Chavez <steve@supabase.io>)
List pgsql-hackers
On Wed, Nov 12, 2025 at 01:07:27PM -0500, Steve Chavez wrote:
> So I wonder if we could remove the possibility of shell access by providing
> a `--with-copy-program` compile flag.

You might be interested in this past discussion for a similar idea:

    https://postgr.es/m/flat/20220520225619.GA876272%40nathanxps13

As others have already pointed out, there's no real boundary between
database superusers and the OS user running Postgres.  I think many would
like there to be one, but I'm unaware of any serious efforts in that area,
and I doubt there's much appetite for it in the community.

-- 
nathan



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue
Next
From: Arseniy Mukhin
Date:
Subject: Re: Use streaming read I/O in BRIN vacuuming