[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-admin
Subject:    Re: [ADMIN] pg_dump Error
From:       Tom Lane <tgl () sss ! pgh ! pa ! us>
Date:       2004-06-29 14:16:03
Message-ID: 28954.1088518563 () sss ! pgh ! pa ! us
[Download RAW message or body]

"Nigel Bishop" <Nigel.Bishop@ioko.com> 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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic