Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfV6Y-0007KF-9L for pgsql-general@arkaria.postgresql.org; Sun, 31 May 2020 21:02:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jfV61-0002V3-KP for pgsql-general@arkaria.postgresql.org; Sun, 31 May 2020 21:02:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfV5z-0002Uv-Q3 for pgsql-general@lists.postgresql.org; Sun, 31 May 2020 21:02:17 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfV5w-0003c3-N2 for pgsql-general@lists.postgresql.org; Sun, 31 May 2020 21:02:14 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 503ED970; Sun, 31 May 2020 17:02:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 31 May 2020 17:02:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=m Bj4aq6sQL16NPDMRDYfN80PCfXXej+aNJ1SLOH0HVA=; b=IU7usRNzGxAUZuuMa j2UHp0uBSBbxfACva6zLWTPD+VCgWwLrrvQueyaG5vSFNfrBdw5WyFk0EQiUzBq8 WTVSChbxSJSJn3jPJynQPY8rLMN4M9uYg8MGhMpTFjKyUWXLW+hSW2QjBi/QQlBz rg7qINVsxf3+Fy8WVKb96WDPUrOST5dwvhnd4rKKrrcvjmyw1pGPiKOT2zFrXaLb ZXPKURNc/oIYtelBNF5GKE1NwSPvH8J8iCnDfoA2k8n5b5k2XjJ5KirlZu2Jp6h/ 4LS5jNfVhV2FMP9mghXxg5QO5VDesNf399hD84cciDpRLm1ghGrx1fsKZVyZI2Uz NOhQg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=mBj4aq6sQL16NPDMRDYfN80PCfXXej+aNJ1SLOH0H VA=; b=ieVTueYZHwYgzOQUpEGL+4GHw7BSJwbc03wrI9O5WCICnFBrprm6Pgpo1 kb0ubap1ezX4kjeyFA978Evo97+OIoBDGQlbDWMuHQSdzitPIH28PG7EuO3kh4Ox gk7gFvseSJfJEeSBby3h6s5DdqQkXUZIH/pioEklWDlvfpUzqf6NgkYEs1YeHbCN 8ZUCmkCmn0KzUlWWNDLNt6XQ2OkN98jSzh3JDh8WNZlDiKl6fxIbXWEoNYtpuvHS rIWJePYW4lMog+D5aF72dovDBsE1BLQK1L+F9NkegpTIvosw6zKDXWWtZqb+few+ xJWj0XXdbxwoTjmZmr7XcNZaIXprw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeffedgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeetjedvte ffjeeuvdelieeffeehuedthffgvdfhhffhkedvudevgedvjedufefgveenucfkphepjeeh rddujedvrdehrddvfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 02B203280060; Sun, 31 May 2020 17:02:08 -0400 (EDT) Subject: Re: pg_dump of database with numerous objects To: Christophe Pettus Cc: tony@exquisiteimages.com, pgsql-general@lists.postgresql.org References: <6ef5dbeb1a02e0d01c5f085e4e49e496@exquisiteimages.com> <00424372-5321-4183-9CBB-BBFC8585ECE7@thebuild.com> <0a4039bb-bd35-d079-f124-61c4d91a81de@aklaver.com> <2A4422F9-38BA-4F5F-A1F6-F55B6F0DB762@thebuild.com> From: Adrian Klaver Message-ID: Date: Sun, 31 May 2020 14:02:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <2A4422F9-38BA-4F5F-A1F6-F55B6F0DB762@thebuild.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/31/20 1:38 PM, Christophe Pettus wrote: > > >> On May 31, 2020, at 13:37, Adrian Klaver wrote: >> >> Just a reminder that the OP's original issue was with using pg_upgrade. > > True, although IIRC pg_ugprade uses pg_dump under the hood to do the schema migration. Again true, but pg_upgrade will not work older to newer: /usr/local/pgsql11/bin/pg_upgrade --check -U postgres -d /usr/local/pgsql11/data -D /usr/local/pgsql12_up/data -b /usr/local/pgsql11/bin -B /usr/local/pgsql12/bin Performing Consistency Checks ----------------------------- Checking cluster versions This utility can only upgrade to PostgreSQL version 11. Failure, exiting > > -- > -- Christophe Pettus > xof@thebuild.com > -- Adrian Klaver adrian.klaver@aklaver.com