pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPg_dump postgreSQL 8.1.3-1 and win2k
2+ messages / 2 participants
[nested] [flat]
* Pg_dump postgreSQL 8.1.3-1 and win2k
@ 2007-01-10 17:34 "Séguier, Géraldine" <Geraldine.Seguier@spotimage.fr>
0 siblings, 1 reply; 2+ messages in thread
From: "Séguier, Géraldine" @ 2007-01-10 17:34 UTC (permalink / raw)
To: pgsql-admin
I'm trying to dump a schema and I receive this error :
pg_dump: Error message from server: ERROR: permission denied for relation pg_ts_dict
pg_dump: The command was: LOCK TABLE public.pg_ts_dict IN ACCESS SHARE MODE
pg_dump: *** aborted because of error
The schema was created by a superuser "X", and the dump has been done by another user "Y" which has the privileges : ALL on this table.
grant ALL on table pg_ts_dict to Y;
The owner of pg_ts_dict is "X".
Thanks for your answer,
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Pg_dump postgreSQL 8.1.3-1 and win2k
@ 2007-01-15 04:15 Adam Radłowski <adamr@informatyka.gdansk.pl>
parent: "Séguier, Géraldine" <Geraldine.Seguier@spotimage.fr>
0 siblings, 0 replies; 2+ messages in thread
From: Adam Radłowski @ 2007-01-15 04:15 UTC (permalink / raw)
To: "Séguier, Géraldine" <Geraldine.Seguier@spotimage.fr>; +Cc: pgsql-admin
I had this same problem on Win2003, but I resolved it in short way,
without analysis of problem - I make dumps as owner of database.
I suppose, there is a problem with full access to system tables with "no
owner" privilleges to dumped database.
I think it could be problem on all supported platforms, but when I saw
it on Win (one server), I make on other servers (Linux) dumps as owner
without testing, if I can to do it as normally privilleged user.
Brgds
Adam
Séguier, Géraldine napisał(a):
> I'm trying to dump a schema and I receive this error :
> pg_dump: Error message from server: ERROR: permission denied for
> relation pg_ts_dict
>
> pg_dump: The command was: LOCK TABLE public.pg_ts_dict IN ACCESS SHARE MODE
> pg_dump: *** aborted because of error
>
> The schema was created by a superuser "X", and the dump has been done by another user "Y" which has the privileges : ALL on this table.
>
> grant ALL on table pg_ts_dict to Y;
>
> The owner of pg_ts_dict is "X".
>
>
>
> Thanks for your answer,
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-01-15 04:15 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-01-10 17:34 Pg_dump postgreSQL 8.1.3-1 and win2k "Séguier, Géraldine" <Geraldine.Seguier@spotimage.fr>
2007-01-15 04:15 ` Adam Radłowski <adamr@informatyka.gdansk.pl>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox