X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 444A7D1B1DC for ; Tue, 29 Jun 2004 11:16:05 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 87895-06 for ; Tue, 29 Jun 2004 14:16:08 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E3623D1B1CD for ; Tue, 29 Jun 2004 11:16:03 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i5TEG3JO028955; Tue, 29 Jun 2004 10:16:03 -0400 (EDT) To: "Nigel Bishop" Cc: pgsql-admin@postgresql.org Subject: Re: pg_dump Error In-reply-to: <72558D9A7573814BB4082A28843E03D40B414D@intyodc01.uk.ioko365.com> References: <72558D9A7573814BB4082A28843E03D40B414D@intyodc01.uk.ioko365.com> Comments: In-reply-to "Nigel Bishop" message dated "Tue, 29 Jun 2004 10:38:03 +0100" Date: Tue, 29 Jun 2004 10:16:03 -0400 Message-ID: <28954.1088518563@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/367 X-Sequence-Number: 14027 "Nigel Bishop" writes: > pg_dump: Attempt to lock table "Foo" failed. ERROR: MySchema: > permission denied Looks like you need to grant yourself usage rights on the schema "MySchema". > If I try to drop this it errors saying the table foo doesn't exist. Can't tell whether you forgot to schema-qualify the name or whether you forgot to quote it to protect the mixed case, but something along the lines of drop table "MySchema"."Foo"; is what you would need. Note that that will also fail unless you've fixed the permissions problem for MySchema, though. > Where did this object come from Presumably, you created it. regards, tom lane