Re: Permission denied for sequece...

From: "Jon Horsman" <horshaq(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Permission denied for sequece...
Date: 2006-08-21 22:27:21
Message-ID: 4f4c2a010608211527t702939e1i174729175d9bed73@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> Column | Type | Modifiers
> --------+---------+------------------------------------------------------
> id | integer | not null default nextval('public.real_id_seq'::text)
>
> Note that my table, real, has a sequence named read_id_seq. You need to
> grant all on that as well...

That did it. Thanks a lot. I _never_ would have guessed that and
don't recall seeing it in the docs, perhaps i missed it.

While on the topic. Is there one blanket command that can be run to
grant the user permissions to do everything to the db, without making
that user the owner or a superuser?

Originally i would have thought 'GRANT ALL ON dbname TO user' would
have done this for me, but its obvious it doesn't work that way.

Jon.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Scott Marlowe 2006-08-21 23:46:18 Re: Permission denied for sequece...
Previous Message Scott Marlowe 2006-08-21 20:55:02 Re: Permission denied for sequece...