pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <cb@df7cb.de>
To: Giles Thomas <giles@pythonanywhere.com>
Cc: pgsql-pkg-debian@postgresql.org, "support@pythonanywhere.com" <support@pythonanywhere.com>
Subject: Re: Odd table ownership for PostgreSQL
Date: Sat, 27 Jul 2013 14:37:30 +0200
Message-ID: <20130727123730.GB22426@msgid.df7cb.de> (raw)
In-Reply-To: <51F2B37E.5070501@pythonanywhere.com>
References: <51F2B37E.5070501@pythonanywhere.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Re: Giles Thomas 2013-07-26 <51F2B37E.5070501@pythonanywhere.com>
> We're installing PostgreSQL to Ubuntu raring machines using the
> http://apt.postgresql.org/pub/repos/apt/ PPA.  Something strange
> seems to have happened at some point after 19:39 UTC on 23 July.
> 
> Details of the error are here <http://dba.stackexchange.com/questions/47005/postgresql-create-table-creates-with-incorrect-owner;
> but to summarise, we're creating a user, creating a database owned
> by that user, and then as that user we're creating a table in the
> database.  The new table turns out to be owned by user postgres
> rather than by the new user.  The new user does not have (but can
> grant himself) permissions on the table.
> 
> This problem is not present on a machine that installed PostgreSQL
> from the PPA at 19:39 UTC on 23 July.  But it is present in one that
> installed it at 13:16 UTC on 24 July, and in every machine we've
> installed it on since.
> 
> Any help would be much appreciated!

Nothing has changed on apt.postgresql.org since July 22nd, so this is
not caused by a packaging change. I cannot reproduce the problem using
9.2.4-1.pgdg+1 on sid/amd64.

Is there any pooler between you and the database that might be messing
up with the current user?

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachments:

  signature.asc (application/pgp-signature, 835B) download

view thread (4+ messages)  latest in thread

Message-ID: <20130727123730.GB22426@msgid.df7cb.de>
Permalink:  ../20130727123730.GB22426@msgid.df7cb.de/
Also on:    postgresql.org/message-id/20130727123730.GB22426@msgid.df7cb.de

 · 

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-pkg-debian@postgresql.org
  Cc: cb@df7cb.de, giles@pythonanywhere.com, support@pythonanywhere.com
  Subject: Re: Odd table ownership for PostgreSQL
  In-Reply-To: <20130727123730.GB22426@msgid.df7cb.de>
  References: <51F2B37E.5070501@pythonanywhere.com> <20130727123730.GB22426@msgid.df7cb.de>

* 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