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 1koVfM-0000wc-9l for pgsql-general@arkaria.postgresql.org; Sun, 13 Dec 2020 18:00:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1koVfK-0004t5-B5 for pgsql-general@arkaria.postgresql.org; Sun, 13 Dec 2020 18:00:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koVfK-0004sy-2i for pgsql-general@lists.postgresql.org; Sun, 13 Dec 2020 18:00:14 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koVfB-0005dx-1t for pgsql-general@lists.postgresql.org; Sun, 13 Dec 2020 18:00:13 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id EDECB72F; Sun, 13 Dec 2020 13:00:00 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 13 Dec 2020 13:00:01 -0500 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=fm1; bh=d 4wJ+fC2SKwMdPEjplmol1HpsH7oG0hMRIWExS50rcc=; b=L3xrmgWXVDsIGT+AK ouVmaS3rTlwoJX9DiAWpiK/QlvnBhbxNASDgW73gOsajb8OYu6SAnZr0iZTg07/T 3fFk4knKkowbx3JqjN65vYTE0stykagmu6ayra0LPugM7AiRK09anJyUCbweXRU6 cgxT+Ce46zC8waN0MIEIFj23RQbWZQDm0B5g0E+lsbmS4YL4OvHBTDMVzEboODC1 NUbYq/wX45cc3/qi3GEcWSqwVQwRn5GshuNtd5HblssQvefogyHggQ2dP+wIUYKh H7Nhcb83vgBH5WFKRPqkT+R7rJgC/DzAjjwSxYtJ5se+3PqVdL2pEg3ap5Hojg73 TDCgA== 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=fm1; bh=d4wJ+fC2SKwMdPEjplmol1HpsH7oG0hMRIWExS50r cc=; b=fj4XH/71886pAtGO1mobLKJIzHFFlb7aJ2GuSuJKdWM1HYKL3CTpLedE1 MrJ4l3aWAH3zE1k+2SBiDSwg9OPBDM6X04GYnhrgXj+idcT0O5nuvtq159kSipsA Uvj9hDs/7zfQLtxn+KYNxz7ASro0nv9GpUebBOyra6jjgRGDwdV9OwoHW72d7qt5 Fe/95I9NnhBeZ4/KxwxYXnnp0Wc6BzyLTQ/PA4akkVVifUkiGy1AWh+xJ20aeSpD mQ/7hRygyhMqIaOlBILMvgoW55W908QCdB4ix11gQKGrLJouaFCQZVhIDhoHhXT+ HL8bNOJsYTWiVifO6MnQeIYyGYb+w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekiedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeevteejtd eikeetfefhhffhteelvdekffevudegjeeukefhgfdvieeliedtkeevhfenucffohhmrghi nhepphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeejhedrudejvddruddrieelnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghn rdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.4] (75-172-1-69.tukw.qwest.net [75.172.1.69]) by mail.messagingengine.com (Postfix) with ESMTPA id AD448108005F; Sun, 13 Dec 2020 12:59:59 -0500 (EST) Subject: Re: pg_restore fails when psql succeeds To: Cherio Cc: pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Sun, 13 Dec 2020 09:59:59 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: 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 12/12/20 12:39 PM, Cherio wrote: > I install PostgreSQL from "apt.postgresql.org > " repository: > $ /usr/lib/postgresql/13/bin/postgres --version > postgres (PostgreSQL) 13.1 (Ubuntu 13.1-1.pgdg20.04+1) > > It runs in a VM, the most recent & updated version of Ubuntu LTS 20.04 > $ uname -a > Linux dbwfprod8-20 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 > UTC 2020 x86_64 x86_64 x86_64 GNU/Linux > RAM: 48GB > CPU: 8 > Storage: 800GB (plenty of free space left) > > I attached customizations to postgresql.conf and a few relevant errors > from the PostgreSQL server log; there were no relevant messages in > journalctl. > > What is the exact command you are using to do the restore? -- Adrian Klaver adrian.klaver@aklaver.com