From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Olivier Hubaut <olivier(at)scmbb(dot)ulb(dot)ac(dot)be> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: What's wrong with COPY rights in 7.3.4? |
Date: | 2003-12-06 12:27:26 |
Message-ID: | 200312061227.hB6CRQY10676@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
COPY is done with the rights of the server backend, not your client.
You can also use \copy in psql and that is done in the client.
---------------------------------------------------------------------------
Olivier Hubaut wrote:
> Hi,
>
> I tried to use the COPY function in v7.3.4 but I have a problem.
> According to the documentation, anyboy having the good rights on the
> table he want to copy could do it without any problem.
>
> When I tried it, I found that using this command is impossible if you
> aren't an administrator for the instance of PostgreSQL.
>
> Is it a bug or a *feature*?
>
> The commands I tried are the followings:
>
> COPY table FROM '/file.sql';
>
> and
>
> COPY table TO '/file.sql';
>
> Thanks for responding.
>
> --
> Ci-git une signature avortee.
> ** RIP **
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2003-12-06 23:45:54 | Re: Help converting Oracle instead of triggers to PostgreSQL |
Previous Message | Grace C. Unson | 2003-12-06 05:05:18 | Index not recognized |