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 1pZNMI-0001qo-Q0 for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Mar 2023 02:47:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pZNMH-0001wZ-Lb for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Mar 2023 02:47:21 +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 1pZNMH-0001wP-C3 for pgsql-hackers@lists.postgresql.org; Tue, 07 Mar 2023 02:47:21 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pZNMD-0007rq-D2 for pgsql-hackers@postgresql.org; Tue, 07 Mar 2023 02:47:20 +0000 Received: by mail-pg1-x531.google.com with SMTP id z10so6792635pgr.8 for ; Mon, 06 Mar 2023 18:47:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678157235; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=wF+xPvLNCoZSAXGqiANKOp1uPfv5vMg8gYNX13E012k=; b=A/L5oJBDddewGLfJjFu59thlcVAEXEz3Es6gHKOzGeXbXYABjpyR4MAuIUh551LwHq Exx7poBAa+7YEkqAOrWmgx5cAs7QxNiDTLJ3kYF/swDy3VNsxvT/9qn5QKRhHWd2icox KB2r2uzaqpAM/pKB/STnC92t7snx6k2Dt2sKSIHQJSCtcY6r3QVVbX8wGWUf078pKZkD PR/jSMUOb5UnOxxawXp+kYVJuDuJi6krRu1y8VBNd96SK1In287l249xkdLZVEI4x1fT vMEUvB3dG8pd9AAtxvIFR0K7GdANgCAudS2j3I6tsczGVkKx/wGAx4RFp75LEJtX/8Zq N91w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678157235; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wF+xPvLNCoZSAXGqiANKOp1uPfv5vMg8gYNX13E012k=; b=HIMMw30Wpf7bxvttOyXOd8nC7gn9wf4WhmImuL3zkHVIuUq1cJG6A+xteXjpdlqsvL uW0JlFAWFJ85QeK9qVfwEUUQXSTmwi5mHRbHYnaLsRf0onurQTg2m1bPImuaNohkr5jN vWNw4N1nFa9TA3oOAZRAJPaRs3T5TZoM1Vm8+m5KnxdzQOOrGx2LO389pOzjULMk1HIb DOgTTgaqy7CHr4u/vvRAUhwWnVQbCmwS60C5SxRK+ORqLYAXsWGfRd7pZe4+bWyH5qYj QmS9WOSQxa4i6FCxuLGjUs+ssAAS1SdIXPsz2Z6ppL6dUIQPzltRHVC0llRtfTu4QXy5 ia1w== X-Gm-Message-State: AO0yUKXe++MemDzgnlxdUtZVGxn1M9IOax8eKWIfykdUtCoT0ea2LfVT 8SKNgN9nGm3qCtpNoy9qY6c= X-Google-Smtp-Source: AK7set/Rb7xnLitfebVfS2512JwdpyUJXO/JG5g3NhphwneThvOz8rFr4OJR2XuMBjjXRI/WxRWagg== X-Received: by 2002:aa7:9d90:0:b0:5e1:f54e:8074 with SMTP id f16-20020aa79d90000000b005e1f54e8074mr13175913pfq.21.1678157234796; Mon, 06 Mar 2023 18:47:14 -0800 (PST) Received: from jrouhaud (2001-b011-1006-937a-f1c6-c856-8731-0a63.dynamic-ip6.hinet.net. [2001:b011:1006:937a:f1c6:c856:8731:a63]) by smtp.gmail.com with ESMTPSA id z19-20020aa785d3000000b005a8a4665d3bsm6906947pfn.116.2023.03.06.18.47.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 18:47:14 -0800 (PST) Date: Tue, 7 Mar 2023 10:47:09 +0800 From: Julien Rouhaud To: Daniel Gustafsson Cc: "Gregory Stark (as CFM)" , Pavel Stehule , Justin Pryzby , Andres Freund , Andrew Dunstan , John Naylor , Erik Rijkers , Tom Lane , Alvaro Herrera , Tomas Vondra , Dean Rasheed , Stephen Frost , Surafel Temesgen , vignesh C , PostgreSQL Hackers Subject: Re: proposal: possibility to read dumped table's name from file Message-ID: <20230307024709.n3mky2yzttxxqaj4@jrouhaud> References: <20221104121927.GZ16921@telsasoft.com> <20221104132830.yee7hyv6kzaz6kvv@jrouhaud> <20221111081125.bxtndzqlt5tpc5qw@jrouhaud> <20221113085838.mcb7ai3p2ozxqjxa@jrouhaud> <20221122052556.jkb3kmzg7k3g2b7h@jrouhaud> <9069E332-4D38-4BBE-B527-3D9D4A11912E@yesql.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9069E332-4D38-4BBE-B527-3D9D4A11912E@yesql.se> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Mon, Mar 06, 2023 at 10:20:32PM +0100, Daniel Gustafsson wrote: > > On 6 Mar 2023, at 21:45, Gregory Stark (as CFM) wrote: > > > > So.... This patch has been through a lot of commitfests. And it really > > doesn't seem that hard to resolve -- Pavel has seemingly been willing > > to go along whichever way the wind has been blowing but honestly it > > kind of seems like he's just gotten drive-by suggestions and he's put > > a lot of work into trying to satisfy them. > > Agreed. Indeed, I'm not sure I would have had that much patience. > > He implemented --include-tables-from-file=... etc. Then he implemented > > a hand-written parser for a DSL to select objects, then he implemented > > a bison parser, then he went back to the hand-written parser. > > Well, kind of. I was trying to take the patch to the finishing line but was > uncomfortable with the hand written parser so I implemented a parser in Bison > to replace it with. Not that hand-written parsers are bad per se (or that my > bison parser was perfect), but reading quoted identifiers across line > boundaries tend to require a fair amount of handwritten code. Pavel did not > object to this version, but it was objected to by two other committers. > > At this point [0] I stepped down from trying to finish it as the approach I was > comfortable didn't gain traction (which is totally fine). > > Downthread from this the patch got a lot of reviews from Julien with the old > parser back in place. Yeah, and the current state seems quite good to me. > > Can we get some consensus on whether the DSL looks right > > I would consider this pretty settled. Agreed.