pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Kowalski <jk@poczta.srv.pl>
To: pgsql-general@lists.postgresql.org
Subject: Lost permission
Date: Fri, 28 Sep 2018 00:00:06 +0200
Message-ID: <1538085606.6107.32.camel@sem-jarek-01.prv> (raw)

Hello!

I've strange problem with Pyramid application working with postgresql
over psycopg2.

After some period of operation, my application insert new row to one of
tables with the message:

ERROR:  permission denied for relation ...

After restart of application, it starts to work properly again.

I've carefully checked that there are no GRANT/REVOKE statements related
to this table. Application connects to PostreSQL from dedicated account
using peer authentication. Restart of application doesn't change any
permissions.

The problem is related only to this one table (but this table has
biggest number of inserts).

How to diagnose this problem ?

debian stretch, PostgreSQL 9.6.10, all packages updated.

best regards
J.








view thread (2+ messages)  latest in thread

Message-ID: <1538085606.6107.32.camel@sem-jarek-01.prv>
Permalink:  ../1538085606.6107.32.camel@sem-jarek-01.prv/
Also on:    postgresql.org/message-id/1538085606.6107.32.camel@sem-jarek-01.prv

 · 

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-general@postgresql.org
  Cc: jk@poczta.srv.pl
  Subject: Re: Lost permission
  In-Reply-To: <1538085606.6107.32.camel@sem-jarek-01.prv>
  References: <1538085606.6107.32.camel@sem-jarek-01.prv>

* 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