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 1mJGgC-00078Y-Fn for pgsql-general@arkaria.postgresql.org; Thu, 26 Aug 2021 14:48: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 1mJGgB-00065c-Cn for pgsql-general@arkaria.postgresql.org; Thu, 26 Aug 2021 14:48:31 +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 1mJGgB-00065T-45 for pgsql-general@lists.postgresql.org; Thu, 26 Aug 2021 14:48:31 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJGg9-00022I-4t for pgsql-general@lists.postgresql.org; Thu, 26 Aug 2021 14:48:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hiaHmY75RwbfB5ZXJaf6shXUQ5FyrspXKe5iYZOyxXU=; b=FrZ+Xy7akCnsYEhGutNhJpE+X9 UApp+FyUuGCtBQEcDIcb4DrfBWu/LoBcKInKedIGFh/n2baRaZYDPz1lKOkpmXvPSm947wd7fcRMH tom5Ajxm0/9fUrhFiKZkNxfx3PJRtVwQIvOk39HKwpOZ8MKuNFkRjEorrd1XYtZDiQaQ=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1mJGg7-0002Yd-2B; Thu, 26 Aug 2021 16:48:27 +0200 Date: Thu, 26 Aug 2021 16:48:26 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Adrian Klaver Cc: pgsql-general Subject: Re: Can we get rid of repeated queries from pg_dump? Message-ID: <20210826144826.GA8725@depesz.com> Reply-To: depesz@depesz.com References: <20210826084430.GA26282@depesz.com> <20210826143543.GA4040@depesz.com> <56ad5982-44d7-7f05-2e86-747e26536eb4@aklaver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56ad5982-44d7-7f05-2e86-747e26536eb4@aklaver.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Aug 26, 2021 at 07:46:46AM -0700, Adrian Klaver wrote: > On 8/26/21 7:35 AM, hubert depesz lubaczewski wrote: > > On Thu, Aug 26, 2021 at 07:34:26AM -0700, Adrian Klaver wrote: > > > On 8/26/21 1:44 AM, hubert depesz lubaczewski wrote: > > > > Hi, > > > > I have following case: local pg_dump (v15) connecting to remote > > > > PostgreSQL (v12). > > > So you are using a dev version of pg_dump or is that a typo? > > > > Yes. I'm running pg_dump from my computer to (very) remote db server. > SSHing and dumping on the remote is out as a short term solution? As I mentioned in original post - I can't run pg_dump closer to server. SSH is not available, at least for me. Anyway - I got the dump, so I am good for now, but I think that this could be improved, so I'll work on getting some stats on queries. Best regards, depesz