[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Consumable substances
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Consumable substances |
Date: |
Mon, 5 Sep 2011 23:06:50 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Sep 05, 2011 at 01:41:05PM -0700, Jim Busser wrote:
> 2) when I run
>
> MacBook-2:bin djb$ ./pg_dump -U gm-dbo --data-only
> --table=pg_temp_4.tallman -f install-data-pack.sql gnumed_v16
> Password:
>
> I get
>
> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR: permission denied for
> schema pg_temp_4
That means user gm-dbo does not have access rights for table
"tallman" (the schema pg_temp_4 is auto-assigned).
Which (database) user did you create that table as ? I
would hazard a guess it wasn't gm-dbo ;-)
Actually, however, this is still different: since you are
doing the filling of the tallman table within one session
there is no tallman table anymore when you try to dump it
from another session -- since you declared it temporary. The
schema will still be around (because it is lazily garbage
collected) but you don't have permission to access it
(explanation above). *Having* permission would not help
because the (temp) table is gone anyway.
I'd suggest not using a temp table and rather explicitely
dropping it afterwards.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- Re: [Gnumed-devel] Consumable substances, (continued)
- Re: [Gnumed-devel] Consumable substances, Jim Busser, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Karsten Hilbert, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Jim Busser, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Karsten Hilbert, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Jim Busser, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Karsten Hilbert, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Jim Busser, 2011/09/05
- Re: [Gnumed-devel] Consumable substances,
Karsten Hilbert <=
- Re: [Gnumed-devel] Consumable substances, Jim Busser, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Karsten Hilbert, 2011/09/06
- Re: [Gnumed-devel] Consumable substances, Jim Busser, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Karsten Hilbert, 2011/09/05
- Re: [Gnumed-devel] Consumable substances, Karsten Hilbert, 2011/09/05
Re: [Gnumed-devel] Consumable substances, Karsten Hilbert, 2011/09/04