From: | Lonni J Friedman <netllama(at)gmail(dot)com> |
---|---|
To: | Anne Wainwright <anotheranne(at)fables(dot)co(dot)za> |
Cc: | pgsql-novice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: cannot do backup - locked? |
Date: | 2013-09-16 00:28:36 |
Message-ID: | CAP=oouG5xYxFZky-8y_w9+q_ZhD1FDm_i7i3FSNfKPVXcyhRTA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
This looks potentially appropriate:
http://www.postgresql.org/message-id/349.1146881338@sss.pgh.pa.us
http://stackoverflow.com/questions/4363697/copy-a-postgres-database-without-lock-permissions
Neither of your commands specify a username to connect as. I'd suggest
using the -U option with a user who can access the database in
question.
On Sun, Sep 15, 2013 at 5:03 PM, Anne Wainwright
<anotheranne(at)fables(dot)co(dot)za> wrote:
> Hi
>
> I have previously done my backups in these ways, but now we get 'locked'
> messages.
>
> pandora(at)jason:~$ pg_dump -C -f fables_back_20130916.sql Fables
> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR: permission denied for
> relation books
> pg_dump: The command was: LOCK TABLE public.books IN ACCESS SHARE MODE
>
>
>
> pandora(at)jason:~$ pg_dump -a -f fables_data_20130916.sql Fables
> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR: permission denied for
> relation books
> pg_dump: The command was: LOCK TABLE public.books IN ACCESS SHARE MODE
>
> (this second command used a -d flag, but this looks like it has been
> changed to --inserts ??
>
> whatever, what is happening here? I clearly have files created by these
> commands, but dated a long time back, in the postgres user account.
>
> Anne
>
>
> --
> Sent via pgsql-novice mailing list (pgsql-novice(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-novice
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama(at)gmail(dot)com
LlamaLand https://netllama.linux-sxs.org
From | Date | Subject | |
---|---|---|---|
Next Message | vinayak | 2013-09-16 06:46:03 | Re: sorting of a price field |
Previous Message | Anne Wainwright | 2013-09-16 00:03:50 | cannot do backup - locked? |