Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4tG9-00030W-Nc for pgsql-general@arkaria.postgresql.org; Tue, 16 Jun 2015 15:58:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z4tG9-0005Wp-8J for pgsql-general@arkaria.postgresql.org; Tue, 16 Jun 2015 15:58:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z4tG8-0005Wi-1E for pgsql-general@postgresql.org; Tue, 16 Jun 2015 15:58:44 +0000 Received: from resqmta-ch2-05v.sys.comcast.net ([2001:558:fe21:29:69:252:207:37]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z4tG5-0008UN-Ha for pgsql-general@postgresql.org; Tue, 16 Jun 2015 15:58:42 +0000 Received: from resomta-ch2-07v.sys.comcast.net ([69.252.207.103]) by resqmta-ch2-05v.sys.comcast.net with comcast id h3xm1q0072EPM31013yef6; Tue, 16 Jun 2015 15:58:38 +0000 Received: from jerry.enova.com ([38.98.177.132]) by resomta-ch2-07v.sys.comcast.net with comcast id h3yU1q00T2rmZlA013yWeF; Tue, 16 Jun 2015 15:58:36 +0000 Received: by jerry.enova.com (Postfix, from userid 1001) id 1B4CD7401EB; Tue, 16 Jun 2015 10:58:28 -0500 (CDT) From: Jerry Sievers To: Melvin Davidson Cc: "pgsql-general\@postgresql.org" Subject: Re: pg_upgrade problem References: Date: Tue, 16 Jun 2015 10:58:27 -0500 In-Reply-To: (Melvin Davidson's message of "Tue, 16 Jun 2015 11:02:42 -0400") Message-ID: <86si9rejbw.fsf@jerry.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1434470318; bh=LYsmQLypMMrVtKJQpt7H2Mrgbfz2CuNCPDjwSxNvdMs=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=j2Na+TUZ5EaegBWytTCSfbZtXWF55TKzJX+LidIUybtq05G1dM8nylgq5BZPMM8tj PA0M+4ijZED+OpmaPTbbOxXr15zPz8wz35IcO1REW1NbDESHQM8deOJlXtKjrun71m YuytmhQ/FcFKnroNSWVeGEaJr+GnNWgXEJj6lWjL217rkvRRWW31QP4aIqTw+CDJps xbvbw6fY1+6eDQN8EaikPFKrFa0esAUJ1wVHm8vea97yTCDBFEzh7zbSEFNK7rDr9X MBDQhlZaF5Pz6OfqRGzWge4+62IE9wP+xIZs9KWAIKH/ZVX/40qq9vnIP2QimKK4Mp DK3xPOiWCLLLw== X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Melvin Davidson writes: > Using pg_upgrade in 9.4 CentOS release 6.6 (Final) (from PostgreSQL 9.1.15) it fails when GRANTING permits to roles. > > Checking pg_upgrade_dump_globals.sql, I see the point of failure is caused by the -- Role memberships section. > > In there I see the following troublesome lines. > -- Role memberships > ... > ... > .... > GRANT "supers" TO "pgpoolad" GRANTED BY "postgres"; > GRANT "" TO ""; > GRANT "" TO ""; > GRANT "" TO ""; > GRANT "" TO ""; > GRANT "" TO ""; > GRANT "" TO ""; > GRANT "" TO ""; > GRANT "" TO ""; > GRANT "" TO "" GRANTED BY "postgres"; > GRANT "" TO ""; > GRANT "" TO ""; > > Doing a pg_dumpall -g on the database produces the same result. Well then I don't presume this is a pg_upgrade issue. Inspect your pg_auth_members catalog for entries referring to rows absent from pg_authid. Did someone manually remove rows from pg_authid? > I am pretty sure this is catalog corruption. > > Can anyone else confirm and/or suggest a recommended fix? > > -- > Melvin Davidson > -- Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general