Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4nku-0000vv-9V for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 01 Aug 2013 07:57:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V4nkt-0006QA-0m for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 01 Aug 2013 07:57:03 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4ak9-00042o-TO for pgsql-pkg-debian@postgresql.org; Wed, 31 Jul 2013 18:03:26 +0000 Received: from darcachon.resolversystems.com ([80.68.93.186]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4ajy-00066H-W0 for pgsql-pkg-debian@postgresql.org; Wed, 31 Jul 2013 18:03:24 +0000 Received: from 46-65-31-233.zone16.bethere.co.uk ([46.65.31.233] helo=[192.168.0.85]) by darcachon.resolversystems.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1V4ajU-0006eV-1M; Wed, 31 Jul 2013 19:02:44 +0100 Message-ID: <51F95162.4000102@pythonanywhere.com> Date: Wed, 31 Jul 2013 19:03:14 +0100 From: Giles Thomas User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Christoph Berg , pgsql-pkg-debian@postgresql.org, "support@pythonanywhere.com" References: <51F2B37E.5070501@pythonanywhere.com> <20130727123730.GB22426@msgid.df7cb.de> In-Reply-To: <20130727123730.GB22426@msgid.df7cb.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 46.65.31.233 X-SA-Exim-Mail-From: giles@pythonanywhere.com X-Spam-Checker-Version: SpamAssassin 3.1.7-deb3 (2006-10-05) on darcachon.resolversystems.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, RATWARE_GECKO_BUILD autolearn=ham version=3.1.7-deb3 Subject: Re: Odd table ownership for PostgreSQL X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000) X-SA-Exim-Scanned: Yes (on darcachon.resolversystems.com) 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 Hi there, On 27/07/2013 13:37, Christoph Berg wrote: > 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 >> 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? Apologies for taking up your bandwith with this one, it turns out that there was one other factor involved that we'd forgotten -- we were using PostgreSQL Extension Whitelist extension () and we've confirmed that the problem is present iff that extension is installed. It looks like it was last updated on 23 July, so I think we've found our culprit. All the best, and thanks very much for getting back to us on this. Giles -- Giles Thomas PythonAnywhere: Develop and host Python from your browser PythonAnywhere LLP 17a Clerkenwell Road, London EC1M 5RD, UK VAT No.: GB 893 5643 79 Registered in England and Wales as company number OC378414. Registered address: 28 Ely Place, 3rd Floor, London EC1N 6TD, UK -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian