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.94.2) (envelope-from ) id 1s2t1o-0074xI-60 for pgsql-hackers@arkaria.postgresql.org; Fri, 03 May 2024 13:32:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s2t1l-009R1h-JS for pgsql-hackers@arkaria.postgresql.org; Fri, 03 May 2024 13:32:42 +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.94.2) (envelope-from ) id 1s2t1l-009R1M-A1 for pgsql-hackers@lists.postgresql.org; Fri, 03 May 2024 13:32:42 +0000 Received: from mail-yb1-xb36.google.com ([2607:f8b0:4864:20::b36]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s2t1j-001Ldf-DG for pgsql-hackers@lists.postgresql.org; Fri, 03 May 2024 13:32:41 +0000 Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-de45dba15feso10667205276.3 for ; Fri, 03 May 2024 06:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714743157; x=1715347957; 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=9RKpQibL5jau/bvBiZhlHidQQTKSwM/VQg1JGZeo3Vs=; b=XUbY2/Pn6Wc5jEc/8OguGA4iQ4T5evNpB4fckGXsgLtj3wzI7KFTY4bIoPJ/RSwTOT +P/aBIb1ZVJ4+JugTWIwb/0tHCd1iPAYi1hKndy9May5Dz5iAHpn6RUZgSmqJr9ohqLm odovA9JbgcMzEBU77A7wuC4mlq/ccPTcZICq3VlERQXLZ12sJSryRToGOlNKO4mKyByB sZPyZjrMCt6v+J9xLGt9eVrcGPXOr7EDSG6fM0jHPyGTxAGqkuNcnMS3LKD1d6r3e440 UIw2hbXytgo7Svvtcf88NPeNZPxmZOq/jB7HIUUzOeyD7uD4zNID907ARmD+i4/Qaj1+ 6AEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714743157; x=1715347957; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9RKpQibL5jau/bvBiZhlHidQQTKSwM/VQg1JGZeo3Vs=; b=Q7IOZ23n66PkCvTwmQ3kJ/wkI4oZfhcrbxET9Ohv+TcGpcQzniIU83BgOx96yxHp4y RR5rh6GSo9eoV3TF4YTedPwnggExr12kPSJcrZoByIFB8lG6clGKmDYrVPbMIbj6WLvB aPeG3OmwF0+oyxN6uTaEVq/FyvS2qDweFoLvDeommsTSd+66VZKVwDoDWp0bsueOWd36 bSNITpbFvVegQimcfzCJa/KKimoO/PmqwACvuaTghjysLP6ajB9Vkd4BbXR9sM7ifKUq gcCHa+5+kkei4wLv8cglkOc1VxqUqYmOykllUd5AGqlO9kS7GgUI3znhDtxu3lzZKseh PMcw== X-Forwarded-Encrypted: i=1; AJvYcCUziXu5mt1BHcA1TNamG0Go0zernP22e/MKuSKtAv0qSw9FG5004217ugFjmGKystPIF6HBZty1G3IFERHDov5S/Sa6q3setmJW3RLsq+oQIrZZ X-Gm-Message-State: AOJu0Yw14F/weZIdKAleShy/tXfgYfVZPWLKBT5FCe7j55jaMxbJtKEE A1qBa5IyxuV+0CbLmv3Ose4KyXPZxF0RFDWLmT4XBcy2MuFsLa7nvz4eh4rJa85Gsnf90xoNEGm 2nLBSYkn9Ho85m7LPsHdtUdF7bkD5SIUYciKtWw== X-Google-Smtp-Source: AGHT+IFPTzL0HL09s5E2YBWVa2qX1HZyvz29ukNWJ3zvPJIUVxJb7UgrQZxsoLri2BsY0i30NPIFLnk0jo+yW3c6A/Y= X-Received: by 2002:a5b:b:0:b0:de4:6c20:78db with SMTP id a11-20020a5b000b000000b00de46c2078dbmr2997416ybp.21.1714743157252; Fri, 03 May 2024 06:32:37 -0700 (PDT) MIME-Version: 1.0 References: <86bfd241-a58c-479a-9a72-2c67a02becf8@postgrespro.ru> <0f655bcd-6487-4179-f9cf-c248efbad510@gmail.com> <41117807-3bea-45bc-a9c0-743c29abff2d@postgrespro.ru> In-Reply-To: From: Alexander Korotkov Date: Fri, 3 May 2024 16:32:25 +0300 Message-ID: Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands To: Justin Pryzby Cc: Dmitry Koval , Alexander Lakhin , pgsql-hackers@lists.postgresql.org 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 On Fri, May 3, 2024 at 4:23=E2=80=AFPM Justin Pryzby = wrote: > On Wed, May 01, 2024 at 10:51:24PM +0300, Dmitry Koval wrote: > > 30.04.2024 23:15, Justin Pryzby =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > > Is this issue already fixed ? > > > I wasn't able to reproduce it. Maybe it only happened with earlier > > > patch versions applied ? > > > > I think this was fixed in commit [1]. > > > > [1] https://github.com/postgres/postgres/commit/fcf80c5d5f0f3787e70fca8= fd029d2e08a923f91 > > I tried to reproduce it at fcf80c5d5f~, but couldn't. > I don't see how that patch would fix it anyway. > I'm hoping Alexander can confirm what happened. This problem is only relevant for an old version of fix [1], which overrides schemas for new partitions. That version was never committed. > The other remaining issues I'm aware of are for EXCLUDING STATISTICS and > refusing to ALTER if the owners don't match. These two are in my list. I'm planning to work on them in the next few day= s. > Note that the error that led to "EXCLUDING IDENTITY" is being discused > over here: > https://www.postgresql.org/message-id/3b8a9dc1-bbc7-0ef5-6863-c432afac7d5= 9@gmail.com > > It's possible that once that's addressed, the exclusion should be > removed here, too. +1 Links. 1. https://www.postgresql.org/message-id/edfbd846-dcc1-42d1-ac26-715691b687= d3%40postgrespro.ru ------ Regards, Alexander Korotkov Supabase