Re: [HACKERS] Permissions on copy

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andreas(dot)Zeugswetter(at)telecom(dot)at, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] Permissions on copy
Date: 1998-02-20 17:10:29
Message-ID: Pine.NEB.3.95.980220120859.11437K-100000@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 20 Feb 1998, Bruce Momjian wrote:

> Two things. First was a separate COPY priviledge, which I vote against.
> I see no real value to it, except to work around the problem that COPY
> doesn't use rules.

Okay, I may be totally out in left field here (ie. unrelated), but
what stops a user from doing a 'COPY out' on a table that they don't have
SELECT privileges on? Kind of negates 'REVOKE ALL...', no?

> Second, there was the idea of making copy allow a real select statement
> and not just a table name. If we do that, all goes through the
> executor, and you get view and rules working properly. May have some
> performance penalty, though it probabably will be minor.

This sounds reasonable...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-02-20 17:11:20 Re: [HACKERS] Who is everyone?
Previous Message Bruce Momjian 1998-02-20 17:03:10 Re: [HACKERS] Permissions on copy