Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7xC4-00069U-JJ for pgsql-admin@arkaria.postgresql.org; Thu, 25 Jun 2015 02:47:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z7xC3-0003ZK-GX for pgsql-admin@arkaria.postgresql.org; Thu, 25 Jun 2015 02:47:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z7x9n-0001eX-6w for pgsql-admin@postgresql.org; Thu, 25 Jun 2015 02:44:51 +0000 Received: from mail-ie0-x234.google.com ([2607:f8b0:4001:c03::234]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z7x9k-0008K5-1U for pgsql-admin@postgresql.org; Thu, 25 Jun 2015 02:44:49 +0000 Received: by iecvh10 with SMTP id vh10so45833388iec.3 for ; Wed, 24 Jun 2015 19:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=mEe29yz3SOyrrQvHg3BOCHn/Q3nnrZSoQSJR5yi48I0=; b=m+IMf9KHcvS4piseQ4xkuvsRl05DypHV3ncC5XXrAIoLtR1a50AAlXEc0kfkOIlmrL c8kV+dBIraenjoqXN6ylT84jB5dSEZxwOLxrvdYBjUvB1WZw3XGHJnuAklHp23TKGall ze4PpRVyGzMqacRz9Dn7Fv1+cg4ebExYFb0cQf9l7qhzcy4W5QRoXDSpzfT3BuEyRFBc V7TXg99gOQdDf4InYNc9G8bfVsE+UY2uBSrTKroRGU3EV40DJ8YSOHnHzNa67cDuaoGF DZTZ/algwdSm+t1VKSca7kxcqBFFdwGRHD2fF0CjYS4YwhcHGnvbpRc2Xxt3laAbj4ZI iobA== X-Received: by 10.50.2.3 with SMTP id 3mr1119456igq.34.1435200286737; Wed, 24 Jun 2015 19:44:46 -0700 (PDT) Received: from ?IPv6:2600:100f:b11b:760b:6cee:3971:c522:90fc? ([2600:100f:b11b:760b:6cee:3971:c522:90fc]) by mx.google.com with ESMTPSA id h2sm495599igv.2.2015.06.24.19.44.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 19:44:46 -0700 (PDT) Message-ID: <558B6B19.1050305@gmail.com> Date: Wed, 24 Jun 2015 19:44:41 -0700 From: John Scalia User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: Trying to change the owner of some tables Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hi all, I'm trying to build a new server from a copy of one of our live Dbs, and I = imported the schema from there and am now trying to get this new server set= up with the right ownership and permissions. All the tables are/were owned by user A, and I've changed = most of them to user B (names changed to protect the innocent, etc.,) Howev= er, some tables from the pg_dump I used to grab the schema, do not show up using \d nor can I see th= em in pg_class. I only found them when I tried to drop user A and psql comp= lained. They appear to be in a different schema and I could change them one at a time, but there are more = than 2200 of these. For the tables I've already changed, I just performed a= n update on pg_class where relowner =3D numeric ID of user A to set that to the numeric ID of user B. Now, this is a 9.2 server on CentOS, but I've not seen this behavior anywhe= re before. Where else should I see these? The only success I've had is \d+ = new_schema.* and that doesn't help me change them. Any assistance would be gratefully accepted, Jay --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin