Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq5gI-000112-7Q for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Jun 2013 18:03:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Uq5gH-0004jj-I3 for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Jun 2013 18:03:29 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq5gG-0004ii-NV for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 18:03:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq5gE-0007ON-RG for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 18:03:28 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r5LI3Q28021468; Fri, 21 Jun 2013 14:03:26 -0400 (EDT) From: Tom Lane To: paul.macdonald@ssc-spc.gc.ca cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8247: Duplicate database names - pg_dump backup fails In-reply-to: References: Comments: In-reply-to paul.macdonald@ssc-spc.gc.ca message dated "Fri, 21 Jun 2013 17:38:32 -0000" Date: Fri, 21 Jun 2013 14:03:25 -0400 Message-ID: <21467.1371837805@sss.pgh.pa.us> X-Pg-Spam-Score: -0.7 (/) 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 paul.macdonald@ssc-spc.gc.ca writes: > Postgres version: 7.4.7-6sarge1 Egad. Not only has 7.4 been EOL for years, but the last release in that series was 7.4.30. You are missing many years' worth of bug fixes. You really, really, really need to get off of that PG version ASAP. > Issue: pg_dump fails due to unexpected duplication of database name > ("avipads"). Dropdb will remove one instance of the database name, but > unable to remove the second instance. I suspect this is evidence of transaction ID wraparound in the pg_database catalog. See if "VACUUM FULL pg_database" makes things any saner. (Delete the one database that you're able to get rid of first.) regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs