pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Ron Ellingson <rellingson@satshot.com>
Cc: pgsql-php@postgresql.org
Subject: Re: permission problems
Date: Thu, 24 Feb 2005 09:22:22 +0000
Message-ID: <421D9CCE.6020300@familyhealth.com.au> (raw)
In-Reply-To: <1109190257.23187.5.camel@vesuvius.fargo-office.satshot.com>
References: <1109190257.23187.5.camel@vesuvius.fargo-office.satshot.com>

> 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

GRANT SELECT, UPDATE ON sequence mytable_tid_seq TO ...;

Chris



view thread (4+ messages)

Message-ID: <421D9CCE.6020300@familyhealth.com.au>
Permalink:  ../421D9CCE.6020300@familyhealth.com.au/
Also on:    postgresql.org/message-id/421D9CCE.6020300@familyhealth.com.au

 · 

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-php@postgresql.org
  Cc: chriskl@familyhealth.com.au, rellingson@satshot.com
  Subject: Re: permission problems
  In-Reply-To: <421D9CCE.6020300@familyhealth.com.au>
  References: <1109190257.23187.5.camel@vesuvius.fargo-office.satshot.com> <421D9CCE.6020300@familyhealth.com.au>

* 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