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 1wZFIq-000t0y-2k for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 21:57:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZFIo-00DkRX-1x for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 21:57:06 +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 1wZFIo-00DkRP-11 for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 21:57:06 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZFIm-00000000bDS-1InU for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 21:57:06 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-68d23430690so7196126a12.3 for ; Mon, 15 Jun 2026 14:57:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781560623; cv=none; d=google.com; s=arc-20240605; b=aAxe2oj/jT7uO0XseYQciJ8jpgIGnichaD5WZfn7npuAOX53pLq95O4ibcMx1bpKPI ncJmc+hlk+xxm06JBNkRIkurL3qCLHmlScVoyybCLbO6CojNgPiZ3UwLfyMTuTCbPqoP 0GXqxlFO0o00vvAh1Nv7Yg21ddwo/iDt6VOBTUr8rcZJSn/d+pdz2xPvFeRjuYgYKHcT /AUSpH9qV5Xm4rtCHPUsNgqNvXsasZRwXiKdWHVT/bcAEDueBjUqLI6nPU3sT9HruxTW SaGeNrjXCSZA71KNzLWw0KPpsIEuiY1G3nqY2nS5UAeBWcxQzTxiN2YBZRgspwFrm3bj 8FyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=KmStpGtutucRRp+CZt3QNnofdNDN335ZnIWjErBDffs=; fh=COKEt64BnqK3kY5hbaJx4WSB8s6ZOI+qBfN2DH8gsBY=; b=j4HHRqweMe/tfPwtV4c9V2coAC1YXd/+QkJ8LxR0lZJ9pXLGS94XQhO/4+yV2SWIAa dVjsxJdmX9LgYnalPbYWTZOTRk7Qa1y5Mebjof8bCKcIFgxnvZxU5rJqss5OZAEI7+cp ORWIuBgOQkBaKI6E0GMhfgWYGuKXyKB3C5y5EbjqXjWd33qXCzyHU08rSJEz7Y4caEim h/xtjL5OwtL3tunm2bxYe0CLereFULi+EBIxhVJYQ+0fR531fJXec3RNg6XTKRhFmhy5 CM3c4/tpmCsOYG091tH3Mz0k2SHsf0LFQP/EIGw1PR7drA6vg4RBwgBmYatPMU+uSfJJ u2mQ==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781560623; x=1782165423; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KmStpGtutucRRp+CZt3QNnofdNDN335ZnIWjErBDffs=; b=Ug5NTmtXovfjtteKVGWLE8FLdSmZnsgn10itwA7Xi8FEwH3l2p8z5GZy1RoV1qW1ak KzycO8k2u0lF0Qfz+w74bx46MhF2gG9V08aqZ/oE2y1BHsfAL3XxHme+LU7mtp9l46G3 ttCjpy9hKTaotM9DY6wdToZE9qo8WsM5+FpvWZCm+/jN/A4wMIs/5Cgz77mBueDbkMwj ymtA6HhZmDBhAVIhyDiz670Qll5leX8K90g7+HmmkJ5Q6yHIX70sEwy2L5ao50TRimd+ uhRGF2Goph6p9sqBbm3CQ41pvDW9mKpPr7PBROYWtFu/by2LvHs6zbXE7bLDEcSLUKeM vfEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781560623; x=1782165423; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KmStpGtutucRRp+CZt3QNnofdNDN335ZnIWjErBDffs=; b=gFALCObcy7WVMLvx8sPIebuR+rTmHOJl4jCCgVVrPGuMPtd1l7ZfhKnlLqXP2B3zbp xq6Tt1FsLgqgRmPRu9qrueHUO5vilENbZtspA+P0Iwmz6xc67umIBnBUE1Jw9pPkMCLo mihQ+ICbW/6gdZ/p05ODdXrU8M1lHpL8/kE4TXhyCGV0kuaX+/5sA3BdIQnEctoHZEVj d725qcdIJm8LmGc67R4Ux5CQ81OtpHNewwpOwLdwcPcVMx6aVcUc2qbAltJl7U0pQLJD jR7tjwrASrZrUx8NizbJM2Yqyvvsv9mzg54UUaOxkTd38No5n2BGiGOgb9WqnFlS5TTo XkFA== X-Forwarded-Encrypted: i=1; AFNElJ+K6gW2m03rdvWoN5mTxQVHyPuVci17VrgUCIWeZCBBRj0CVgDwlXFSv/XYSw1GYxk3yKhW0kEBhwn9ZEcI@lists.postgresql.org X-Gm-Message-State: AOJu0Yywv+aJIdVayUFPkg6e5oSr8wnAFniiONsFNKxZit5FrELRgp70 ehe8sdbL61K/2M2U3cwaonoxW+JvuTpeZr0ZK0h2qrTeIcMNnX9uV8DE6FF2QDtsHCKaqzUg156 5CTWDLt8LqLiMyfgpPUR93T2xVZ4blXY= X-Gm-Gg: Acq92OHNMa84DBQ3HW1JKDhfQsttRtM2k+KuhxWGsRnZZYqvo1HD1JHcagBTaninSkO +y0GqpIF42za5XdPSIyb9QA4Z1/nBO61HONw1NJvIYFqgK9BGpIR1e7xF+lo+qjbp1eaSX6P05I /ZZM5CwJSz3eaq8p4bhdu4Ug83hkWf9EXhPHRQQJ2TqhF/zFy0ViZy4kx6PMx4lPA/SKabUWrIV pV9OqQSjOsadr5w9zo5JoZgOpZO0CQethXVh3vsUd7B1MRqYBiWKa6IvHD6XUyIn3HGqCva3Kdt La3Wy87fpA== X-Received: by 2002:a05:6402:1d4f:b0:68d:296d:9a24 with SMTP id 4fb4d7f45d1cf-693c69ffc8emr5633230a12.1.1781560622687; Mon, 15 Jun 2026 14:57:02 -0700 (PDT) MIME-Version: 1.0 References: <0f655bcd-6487-4179-f9cf-c248efbad510@gmail.com> <41117807-3bea-45bc-a9c0-743c29abff2d@postgrespro.ru> In-Reply-To: From: Pavel Borisov Date: Tue, 16 Jun 2026 01:56:50 +0400 X-Gm-Features: AVVi8Cdqh4TCyAocGeCntcHit6O-mIlur82kxZ8QgN-K7wEaifbvL4pT9glyPUo Message-ID: Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands To: Alexander Korotkov Cc: Justin Pryzby , Dmitry Koval , Alexander Lakhin , pgsql-hackers@lists.postgresql.org, Tomas Vondra , Alvaro Herrera Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, Alexander! I looked into the patch. It's simple enough and looks good to me. I have one question: is it correct to pass 0 reloptions to NewRelationCreateToastTable or we need to use transformRelOptions + heap_reloptions pair to derive toast_reloptions as it is done in ProcessUtilitySlow() and create_ctas_internal()? Regards, Pavel Borisov