Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V33ki-0005Gn-Lq for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 27 Jul 2013 12:37:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V33kh-0000pf-W5 for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 27 Jul 2013 12:37:40 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V33kh-0000pY-3j for pgsql-pkg-debian@postgresql.org; Sat, 27 Jul 2013 12:37:39 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V33kd-0003dn-FO for pgsql-pkg-debian@postgresql.org; Sat, 27 Jul 2013 12:37:38 +0000 Received: from msgid.df7cb.de (kref-4db61491.pool.mediaWays.net [77.182.20.145]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 7BF5B6969B; Sat, 27 Jul 2013 14:37:31 +0200 (CEST) Date: Sat, 27 Jul 2013 14:37:30 +0200 From: Christoph Berg To: Giles Thomas Cc: pgsql-pkg-debian@postgresql.org, "support@pythonanywhere.com" Subject: Re: Odd table ownership for PostgreSQL Message-ID: <20130727123730.GB22426@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , Giles Thomas , pgsql-pkg-debian@postgresql.org, "support@pythonanywhere.com" References: <51F2B37E.5070501@pythonanywhere.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <51F2B37E.5070501@pythonanywhere.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: 0.8 (/) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Details of the error are here > 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. >=20 > 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. >=20 > 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 --=20 cb@df7cb.de | http://www.df7cb.de/ --DocE+STaALJfprDB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJR878FAAoJEExaa6sS0qeu1xYP/Au9vaLvJckrSQEA14VxqENk +NZeCdzgTct8GiKMwKYlDXFnu+c4JO9Dl+UBWHZ1bin+k/+KLcmnH/5zmKnyGygU IUruRngj4WOONFS7EtEsnK0RX32KIx9os3nktk0gAeIzylsYev7gl48LfCpgm9Nj 8cObFRv1LCQZgRVr+Bh94ZHVUjXPmUXRZGybTfdIjPpPFce51wr5kJrqxr/+Ck04 KPQ2x5fhnJ5LmtIbB751i6FiiVEiMASbax4rOfBNyFRK2W0lwh/oRPy+x1vls3FE T3MRoNdr/cxhzrrTiq9CkR0RCcgtsPvzTF4SgzeMi/uRbDICONNHujxVcZ8xegQk NLFapt1LA90XR5TSPAGN1USddKz66wCl0Vv9gFeBmHOYMwMdUP6dRPlVLKq7kXSx jhyJj0eHJEMEsGTUpNR9jl/HEt9WPZxh25BJaQf6JMPWCKdM319MPS6O+L8zgFtp R7bvvLcyfdu7xHQzwpG1nq0vWHtitldWChROpEWtAagQAjCQuOwafBQ67mlBPQwQ U/5d6PSM6sTHPJlSUXf9wZrYyupTtWh+0pHIBGVaTU1kSCVKuoINW31XP2J3hIy3 ER72PlEB3Z/Dbe9MGL0A3jW9YKk0szlAFz6Hv68rDmz6eVVpeHa7YzTQwCaVqmXG Ocj8gJn3ApenAwnrVSeL =BXow -----END PGP SIGNATURE----- --DocE+STaALJfprDB--