Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XrS0t-0004RP-Bo for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Nov 2014 13:43:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XrS0s-0007oT-Nl for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Nov 2014 13:43:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XrA8s-0006DA-G7 for pgsql-bugs@postgresql.org; Wed, 19 Nov 2014 18:38:14 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XrA8i-0004nu-09 for pgsql-bugs@postgresql.org; Wed, 19 Nov 2014 18:38:12 +0000 MIME-Version: 1.0 Subject: BUG #12008: REASSIGN OWNED changes other databases To: pgsql-bugs@postgresql.org From: carlos.vasquez@clearcorp.co.cr Date: Wed, 19 Nov 2014 18:37:21 +0000 Message-ID: <20141119183721.2476.90123@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 12008 Logged by: Carlos Vásquez Email address: carlos.vasquez@clearcorp.co.cr PostgreSQL version: 9.3.5 Operating system: Ubuntu 14.04 Description: Bug explained in stackoverflow (http://stackoverflow.com/questions/27003415/postgres-reassign-owned-for-only-1-database). I am using package 9.3.5-0ubuntu0.14.04.1 in ubuntu 14.04 without any modification. If I have multiple databases owned by user1 and I run REASSIGN OWNED BY user1 TO user2; in 1 specific database, the command also changes the owner of the other databases that user1 owns. This affects only the databases, not the objects inside. Only the objects in the open database get changed to user2 as it should be. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs