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 1jr6i4-0000aJ-CS for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jul 2020 21:25:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jr6i2-0004Pd-2e for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jul 2020 21:25:30 +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 1jr6i1-0004Ly-NE for pgsql-hackers@lists.postgresql.org; Thu, 02 Jul 2020 21:25:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jr6hv-0002pS-M9 for pgsql-hackers@lists.postgresql.org; Thu, 02 Jul 2020 21:25:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 062LPL0Q888848; Thu, 2 Jul 2020 17:25:21 -0400 From: Tom Lane To: David Gilman cc: pgsql-hackers@lists.postgresql.org Subject: Re: Warn when parallel restoring a custom dump without data offsets In-reply-to: <20200528003347.tut2sg2lhfb2i5xv@dar.local> References: <20200519130740.GO18456@telsasoft.com> <25161.1589986110@sss.pgh.pa.us> <20200523224751.GP4472@telsasoft.com> <20200525185429.6pp5vdvfu3vxlwac@dar.local> <20200525215526.t7dqywfywxzmlpbu@dar.local> <20200528003347.tut2sg2lhfb2i5xv@dar.local> Comments: In-reply-to David Gilman message dated "Wed, 27 May 2020 19:33:47 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <888846.1593725121.1@sss.pgh.pa.us> Date: Thu, 02 Jul 2020 17:25:21 -0400 Message-ID: <888847.1593725121@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk David Gilman writes: > I've attached the latest patches after further review from Justin Pryzby. I guess I'm completely confused about the purpose of these patches. Far from coping with the situation of an unseekable file, they appear to change pg_restore so that it fails altogether if it can't seek its input file. Why would we want to do this? regards, tom lane