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 1vUmEc-007RLT-0A for pgsql-hackers@arkaria.postgresql.org; Sun, 14 Dec 2025 13:34:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vUmEb-00D0hv-08 for pgsql-hackers@arkaria.postgresql.org; Sun, 14 Dec 2025 13:34:01 +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 1vUmEa-00D0hm-2S for pgsql-hackers@lists.postgresql.org; Sun, 14 Dec 2025 13:34:01 +0000 Received: from mail-oo1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vUmEZ-000h2n-0j for pgsql-hackers@lists.postgresql.org; Sun, 14 Dec 2025 13:34:01 +0000 Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-65b57959b6fso450518eaf.3 for ; Sun, 14 Dec 2025 05:33:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765719237; x=1766324037; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Vb7pmRewXw4IsxyD3q1BLypANt+c/gSlS5EH4pMaFcA=; b=YkTciQtlAg38VPHynPEl2ILi4cgdCZpjzgBy7auNklI41nEfY31mvzlXV4qI1OugU5 sE4OfG0kH51O9MIhzR07xY3HaZByFBTGc8S55Gn0AGLUqX7LIAaOQpc2or9FXyrisSZ5 /eVBCGZDxa7CXEn7sTOFENfIhdlxx0NgBhJhu4ZSgRHKTksnh1mWBTur4w2YzTSe8Kl8 TH1vQ8cFB6sD+Oi5tk6QuGsHKBxcJ2xP14uU0slO3J1YjwPmwzG8xCB6xNlFr3GL2IK6 xXvBP3nK7tsJ+F1jWKale9OXEmzfXA0UxLSqYQbYuBh59xC9a0Jg3P7F5Y8T/tNrlakv higw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765719237; x=1766324037; h=content-transfer-encoding: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=Vb7pmRewXw4IsxyD3q1BLypANt+c/gSlS5EH4pMaFcA=; b=fATtgyBQdVWCZgfuyJxLLHODIJhpmPWrS9cgaWAEF+9HFKm8spYgQ2H0mROgKSqMdg o3SiLkJA41EZ81ykhqLg7nAMVds0epEwW8PYKCDqXy4gkiUGfkWLFfDdq/AFIHdCj23P dNUqm3IS/lK5n85gZIfuoL00xOTiCCE5PdBFithZm1uHxUOZd0oA2VnT4EYvpxPcM1bo HnTtYqnG4eI7CMuow3e64cK0KV8lYl6Kk+WoiIj1Iqn8QjYEPRtNiVEPMLCz40oWGXw0 IgOcvDi5cm+XG8hEFcgo/kC4BdXC0L2FJ6r+RcCZMO4PgL7mtVMnvA65SpBRgxRFgbsw 80HA== X-Forwarded-Encrypted: i=1; AJvYcCVC8DGWu6uKmTfEC3H5HeN7hu8NypP+oHbHVtHQMTqstuiA7UNehSFuVglTtjEIXB5K9zZ4vz+VrKajbNl4@lists.postgresql.org X-Gm-Message-State: AOJu0Yys9z/zGrH7feL+4VZGheJ6hdxMBkCDbloMvuYqUVifOcmaxn84 7dLSJO80Lj+kDhxFvN3IwS/Sf7EJgdJSvMrEcQ4sncKRITqkgGxYpzIYlPQgSxkCpVM0yhc+mdR RiiRwu26FGeRmEvZub2oNDFKyhAx9qIQ= X-Gm-Gg: AY/fxX5mGfT4OKtcGPbBLvEha++JPfMgPjUfLKhNJlOX02LYFdvglZ0YGAa6AuVSCua pNLPxiCmbcYoj212RKnb1cbZaxUxx5GuKf3HlZdlga9qCxPgTEHpVMOTsZi/SeKsLEtNqBwKkqd KgmVey12Ff6HzIDvYq1lQUCyB7jOxnpentH/yn4UqZagjj+XOVuyFTWsL4I5dgo0ieBY6zL50+T rDP25kZEJPt/yeLq2p6RFR0UTWT5sn2LBNIQwgkDi1tuL2J50NhKXGnMRy5lvLhfbmY/2DPhCAS N355vWB/QjPlOpi+lTw8JKRboktVF6cfZhRiWrVRAdCfUoCUmmVrYwzZS4vds/EKflfG0TVT516 bmz8y X-Google-Smtp-Source: AGHT+IHR/BdxlbOl8tWJkt7ZDT0fOqkPLgq64k43iwcymA6NRAaEJqiyHkBtdUXUZSauzFUCMD5PABcuBojNHD5hN/Q= X-Received: by 2002:a05:6820:1b0f:b0:659:9a49:8fd9 with SMTP id 006d021491bc7-65b452c867bmr3006838eaf.82.1765719237248; Sun, 14 Dec 2025 05:33:57 -0800 (PST) MIME-Version: 1.0 References: <171085360143.2046436.7217841141682511557.pgcf@coridan.postgresql.org> <2643645f-2a02-43de-9321-c995ab1b7ef8@postgrespro.ru> <57a94d8a-d7b6-4c5e-9001-be1cd403b172@postgrespro.ru> <54414932-9E82-47AA-902B-2DED18F07F64@gmail.com> <3280c458-a886-4c58-8e2b-4d220b73161d@postgrespro.ru> <09414bf8-9326-431c-9422-b13bddf5f554@postgrespro.ru> <29ff27f5-d359-4479-b11c-ce28e525d806@postgrespro.ru> In-Reply-To: From: Alexander Korotkov Date: Sun, 14 Dec 2025 15:33:45 +0200 X-Gm-Features: AQt7F2q39UK0i1L3a42-2rNfZxLZ9tkymsuWi85mjoFBeqnFFpE9d70Yp0JpBgQ Message-ID: Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands To: zengman Cc: =?UTF-8?Q?St=C3=A9phane_Tachoires?= , Dmitry Koval , pgsql-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Man, On Sun, Dec 14, 2025 at 2:51=E2=80=AFPM zengman wr= ote: > I just noticed two relatively large commits. I recall that not long ago w= e started attempting to adopt `palloc_object` and `palloc_array` in many pl= aces, > yet in these two commits, some sections have used the new approach while = others have not. > Perhaps we could standardize the coding style for consistency. > > src/backend/commands/tablecmds.c > src/backend/partitioning/partbounds.c Thank you for noticing this. I'm going to prepare patches to adopt `palloc_object` and `palloc_array` in my recent commits right away. ------ Regards, Alexander Korotkov Supabase