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 1kDzOJ-0002zi-Re for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Sep 2020 00:15:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kDzOI-0006xQ-NX for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Sep 2020 00:15:42 +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 1kDzOI-0006xJ-Gk for pgsql-hackers@lists.postgresql.org; Fri, 04 Sep 2020 00:15:42 +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 1kDzOC-0005C6-7h for pgsql-hackers@postgresql.org; Fri, 04 Sep 2020 00:15:41 +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 0840FWCF832698; Thu, 3 Sep 2020 20:15:33 -0400 From: Tom Lane To: Alvaro Herrera cc: Pavel Stehule , vignesh C , Justin Pryzby , PostgreSQL Hackers Subject: Re: proposal: possibility to read dumped table's name from file In-reply-to: <20200903200842.GA11952@alvherre.pgsql> References: <20200903200842.GA11952@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 03 Sep 2020 16:08:42 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <832696.1599178532.1@sss.pgh.pa.us> Date: Thu, 03 Sep 2020 20:15:32 -0400 Message-ID: <832697.1599178532@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > So, Tom added a coding pattern for doing this in commit 8f8154a503c7, > which is ostensibly also to be used in pg_regress [1] -- maybe it'd be > useful to have this in src/common? Done, see pg_get_line() added by 67a472d71. regards, tom lane