Re: pg_dump without psql rights

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert James" <srobertjames(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Teodor Sigaev <teodor(at)sigaev(dot)ru>
Subject: Re: pg_dump without psql rights
Date: 2007-03-27 03:21:04
Message-ID: 10803.1174965664@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Robert James" <srobertjames(at)gmail(dot)com> writes:
> I'm getting this error:
> pg_dump: SQL command failed
> 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

> Is there anyway I can do a pg_dump as non psql? Perhaps without locks?

No. However, I am wondering why it is that tsearch2 doesn't make its
config tables publicly readable ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stuart Cooper 2007-03-27 03:23:26 Re: Strange result using transactions
Previous Message Steve Atkins 2007-03-27 02:14:17 Re: PG over NFS