Re: Directory/File Access Permissions for COPY and Generic File Access Functions

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Adam Brightwell <adam(dot)brightwell(at)crunchydatasolutions(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>, "Kevin Grittner" <kgrittn(at)ymail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "Andres Freund" <andres(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Directory/File Access Permissions for COPY and Generic File Access Functions
Date: 2014-12-11 11:01:08
Message-ID: 54897974.40306@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm marking this as "Rejected" in the commitfest. It's quite clear that
this isn't going to fly in its current form.

For the COPY FROM use case, I'd suggest just doing COPY FROM STDIN. Yes,
it's slower, but not much. And you probably could optimize it further -
there's some gratuitous memcpy()ing happening from buffer to buffer in
that codepath.

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-12-11 11:38:05 Re: Too strict check when starting from a basebackup taken off a standby
Previous Message Jeff Davis 2014-12-11 10:46:47 Re: 9.5: Memory-bounded HashAgg