pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jon Horsman <horshaq@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Permission denied for sequece...
Date: Mon, 21 Aug 2006 18:27:21 -0400
Message-ID: <4f4c2a010608211527t702939e1i174729175d9bed73@mail.gmail.com> (raw)
In-Reply-To: <1156193701.1090.13.camel@state.g2switchworks.com>
References: <4f4c2a010608211203j6591249cifc9c0a793183aee@mail.gmail.com>
	<1156193701.1090.13.camel@state.g2switchworks.com>

>  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.



view thread (4+ messages)  latest in thread

Message-ID: <4f4c2a010608211527t702939e1i174729175d9bed73@mail.gmail.com>
Permalink:  ../4f4c2a010608211527t702939e1i174729175d9bed73@mail.gmail.com/
Also on:    postgresql.org/message-id/4f4c2a010608211527t702939e1i174729175d9bed73@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: horshaq@gmail.com
  Subject: Re: Permission denied for sequece...
  In-Reply-To: <4f4c2a010608211527t702939e1i174729175d9bed73@mail.gmail.com>
  References: <4f4c2a010608211203j6591249cifc9c0a793183aee@mail.gmail.com> <1156193701.1090.13.camel@state.g2switchworks.com> <4f4c2a010608211527t702939e1i174729175d9bed73@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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