Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x3zuh-006onE-1H for pgsql-hackers@arkaria.postgresql.org; Tue, 08 Sep 2026 17:47:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x3zug-0092VU-0g for pgsql-hackers@arkaria.postgresql.org; Tue, 08 Sep 2026 17:47:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x3zuf-0092VM-2w for pgsql-hackers@lists.postgresql.org; Tue, 08 Sep 2026 17:47:17 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x3zua-00000003cVQ-32Hk for pgsql-hackers@postgresql.org; Tue, 08 Sep 2026 17:47:17 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-2ceab75934dso46761465ad.2 for ; Tue, 08 Sep 2026 10:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1788889630; x=1789494430; darn=postgresql.org; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:content-type:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=idpKASZCOYZ4E6dOG0SHL8utr5YbePzfSvby3llneHg=; b=L1URSb2D8tETtoAG0P4JhTChMfrV8HgYOnMylA2tl2BBHZgPzzbm9C6kpZGxWDfpAQ LATWrnQmt1oLuHEOe8xLLk1HmPeksQ/7ZzT37tjttiXMSCEmImYJPcfYg5L1ZygpVSDB IhkI3fdD9t4LDPl4wjCxHRF2o/S5hgIhlEuXM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788889630; x=1789494430; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:content-type:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=idpKASZCOYZ4E6dOG0SHL8utr5YbePzfSvby3llneHg=; b=fr+MDMxVIc2Bz+pwo5BQTiVHUZlnc5gm0ymsGqObpuTDEr5cKOVg/sEg+3iTrhgtc3 YG5wnfEAju7cfL0SLBoqbO/+1Wkkm66J9Zlvv2G5rW9ihI2I8lCqQoN5MyROqnFFcsQG stbDgmRkZylkdwH2OJcHm1yZ4J9LqZkNdxNxLi4H0PE/ZhF81plH/eUoAmBpWUPwOoCD wlxWsJ24D7Blt/OjOSClzzEYj9cNFQaXD4LoNqmo+5GhwkCmEuJG+ZLCti1TF+Z3+ccS RXk8ZJ6Ui7b2kv+4/w8BqeuAlAycPYNgMRidffdsaAq0WaT65ROXWH8ham818vZIGDby /gow== X-Forwarded-Encrypted: i=1; AKwUvBy+nw8b9x7Lw+Wxh4TK2HFsoTaMSxs2QXk5EYbmFQVfggGLl7BF+cJbz6fRGIxyqtkAvCWnIOBPqh+qxlaC@postgresql.org X-Gm-Message-State: AFuF++mK1vTj6tPW8KBdGMi/hM4tYBXLIy38jfDDgnA0GAYX7Ip3P3bC fvsoRmNx9i0tIkHNKcMvabjiJKVK1Mo+RoFOf59oBHzjC9RG014QIL7Fe1SUyCaFTGKLF/uJMq1 gu4I= X-Gm-Gg: AYBFou0AaJn+46ohsnJW1gyHaivSb5aMyvZ8ueL5NXN9juy+VAgU7c/Nl7PxEYJaDaT pfmzz6zFptpMoPmVM1Kj2ax8Hs+FucXZkQmdplOsH2PaJjf8AB+7jTXlIuZmoK3tl+OZnwNooRS Q7us/KBWoRstpfQG0pr8Y8179EhOTxIrcy/C5yzuGgg455q0eIsVciN1Le/lj4HFC0M5rDG3mRM dsiGWurnYwiVvxMFa0lOMTOsjGd/gJ4wwZLrlET95+Cr48mC08OYKommrrpZ39i08xI4rps1MO5 2t2tP9hI1xRtICNHJmF42K2o0CDUaYgkb5Tb8oVhE9BwVe4jHfr0HozMZidMVmaOuPC+kNteSq5 bVikwqpuLsHsHrYt6ckRJeT+RTosvPCx3DvlpcpulSPmQTF1WC0VCex3B7iB6+LFTpTpptiEzM4 njiUmSPpOBbysi1VlcMP66BS1/Sr7i6Bdv+qj+8xZRVWxydxA6cZjRT5yI1B0CIcY4lM7S3Brwr +WSfPv+W9xSHuTJrXvjzlaNcoyoiEM= X-Received: by 2002:a17:90b:52c4:b0:36a:5d1f:7b6 with SMTP id 98e67ed59e1d1-39b260d3375mr45248928a91.2.1788889630366; Tue, 08 Sep 2026 10:47:10 -0700 (PDT) Received: from microsoft.com (c-73-15-160-255.hsd1.ca.comcast.net. [73.15.160.255]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1434c745a09sm6106661c88.7.2026.09.08.10.47.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Sep 2026 10:47:09 -0700 (PDT) Date: Tue, 8 Sep 2026 10:47:07 -0700 From: Noah Misch To: Masahiko Sawada Cc: Ajin Cherian , Amit Kapila , PostgreSQL mailing lists Subject: Re: Add support for COPY TO in tablesync for partitioned tables. Message-ID: <20260908174707.06.noahmisch@microsoft.com> References: <20260905040020.57.noahmisch@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/2.3.0 (2026-01-25) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Sep 08, 2026 at 10:40:09AM -0700, Masahiko Sawada wrote: > On Fri, Sep 4, 2026 at 9:00 PM Noah Misch wrote: > > > > On Thu, Nov 20, 2025 at 03:09:36PM -0800, Masahiko Sawada wrote: > > > Pushed. > > > > This became commit 266543a. It doesn't account for the publisher version, so > > replicating v18->v19 w/ publish_via_partition_root fails at tablesync w/ > > "ERROR: cannot copy from partitioned table". > > Good catch. I've attached the patch to fix it. Looks reasonable. Thanks.