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 1jeg0K-0004Ab-5u for pgsql-hackers@arkaria.postgresql.org; Fri, 29 May 2020 14:29:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jeg0H-0007HM-Ab for pgsql-hackers@arkaria.postgresql.org; Fri, 29 May 2020 14:28:57 +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 1jeg0H-0007FS-3m for pgsql-hackers@lists.postgresql.org; Fri, 29 May 2020 14:28:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jeg0A-000715-P2 for pgsql-hackers@postgresql.org; Fri, 29 May 2020 14:28:56 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 04TESlVF003688; Fri, 29 May 2020 10:28:47 -0400 From: Tom Lane To: Pavel Stehule cc: PostgreSQL Hackers Subject: Re: proposal: possibility to read dumped table's name from file In-reply-to: References: Comments: In-reply-to Pavel Stehule message dated "Fri, 29 May 2020 16:21:00 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10252.1590762527.1@sss.pgh.pa.us> Date: Fri, 29 May 2020 10:28:47 -0400 Message-ID: <10253.1590762527@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Pavel Stehule writes: > one my customer has to specify dumped tables name by name. After years and > increasing database size and table numbers he has problem with too short > command line. He need to read the list of tables from file (or from stdin). I guess the question is why. That seems like an enormously error-prone approach. Can't they switch to selecting schemas? Or excluding the hopefully-short list of tables they don't want? regards, tom lane