From: Heather Johnson <hjohnson@nypost.com>
To: Ron Ellingson <rellingson@satshot.com>
Cc: pgsql-php@postgresql.org
Subject: Re: permission problems
Date: Wed, 23 Feb 2005 15:39:51 -0500
Message-ID: <421CEA17.2080706@nypost.com> (raw)
In-Reply-To: <1109190257.23187.5.camel@vesuvius.fargo-office.satshot.com>
References: <1109190257.23187.5.camel@vesuvius.fargo-office.satshot.com>
Did you grant the relevant permissions on just the table, or on both the
sequence and the table? You'll need to do both.
Heather Johnson
Senior Database Programmer
New York Post
Ron Ellingson wrote:
> I am having a problem adding a row to a postgresql table with a sequence
> as a primary key using pg_query. I receive an error, "permission denied
> for sequence mytable_tid_seq". I have set the permissions for the user
> from all which did not work to insert, update and select which did not
> work. Can you help. Thanks
>
> Ron Ellingson
> rellingson@satshot.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
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-php@postgresql.org
Cc: hjohnson@nypost.com, rellingson@satshot.com
Subject: Re: permission problems
In-Reply-To: <421CEA17.2080706@nypost.com>
References: <1109190257.23187.5.camel@vesuvius.fargo-office.satshot.com> <421CEA17.2080706@nypost.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