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 1ruToQ-005fih-Ar for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Apr 2024 09:00:10 +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 1ruToO-00HSg8-7e for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Apr 2024 09:00:08 +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 1ruToN-00HSg0-UL for pgsql-hackers@lists.postgresql.org; Wed, 10 Apr 2024 09:00:07 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ruToJ-000AXk-0j for pgsql-hackers@lists.postgresql.org; Wed, 10 Apr 2024 09:00:07 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2d8b4778f5fso10600671fa.3 for ; Wed, 10 Apr 2024 02:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712739602; x=1713344402; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Gh/NX/+p9eAtiPrDZg+VSrIkpD9o2dmOlnDFwYHa65Y=; b=Xxq4mGnMesunoQ1Iznr4PLD5gJPudqNCmdd878sSXtwKXgAmLPj6V+K5azm8YUI1Bi qkBAgQBYnlyohSQJWl8qSJha8giLxh1w91PBfDRt3Ylvz0GSFbIjJx/xZF52Ltul1QVe /bWuKG9h8tPD5Y0EzJE2pIG2QafZyhEaeAze+ZAs3zpPvQ1rRMvdeXcQrn3j7L4Ckora /eYA8Ovoza5eiDOTlmIe1wSJ1kmRpAvmzYZxKV/zaO4iJOb1MD+xFAsymVjFh/klKsUe rbSb8uyQlncA527nih+UKPw/i0I2T4VJkDW3xJpAttlTLAALVCu69LNCuD8ixbFtnO0J uWYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712739602; x=1713344402; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Gh/NX/+p9eAtiPrDZg+VSrIkpD9o2dmOlnDFwYHa65Y=; b=atKnnPcEYoDIvtKpJPJYgGnWE1llpcdfFgOuFM/EQhiK2HRB4/4/YKstVvRr0mvfQB zXk5t/GudkB0E3PlPrINabITj2fz+WzHjxUj/bqCQ8HwEELU4AWLHbZetzgDOcDvUh+d loI6qAZAAirliyMKarGaEp7yyva4HeI6cXUg//s5v/zMy/RT+uuxq56AthExM8h0x8aO btXHhCkK1S1B0i4GCSriVgzxGkaIiZW4Hq4hYGWS94CJc37FxP34W1+jT/0Btup50BHt Ges/lfOuM8kjO5SlrhzFBTgpNus53JKCkY7RJcU4x69/PnNBuFGkLtJ3u2YyQhpPqJK+ PRPQ== X-Gm-Message-State: AOJu0Yyi5tNGpxNY403e39iXqKt/wMIMQJZMrmjcgN/h2CiruaSBcEjw riF8AHn9vFCIEmB5BvXscnSXC2L5Jdh8yU9YCTpPh3gXwIJ9u0u8 X-Google-Smtp-Source: AGHT+IFmzuuGscWnkvxKrTvSqpo1y1hx05WBUwUEwTL8YD3XudchGZ2hgiGntVZ32YQmcsJv13OiWw== X-Received: by 2002:a2e:a7ca:0:b0:2d8:9fd7:859a with SMTP id x10-20020a2ea7ca000000b002d89fd7859amr2236647ljp.34.1712739601546; Wed, 10 Apr 2024 02:00:01 -0700 (PDT) Received: from [1.0.0.7] ([91.185.79.145]) by smtp.gmail.com with ESMTPSA id a22-20020a2eb176000000b002d8571428f5sm1804193ljm.39.2024.04.10.02.00.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Apr 2024 02:00:01 -0700 (PDT) Message-ID: Date: Wed, 10 Apr 2024 12:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands Content-Language: en-US To: Alexander Korotkov , Dmitry Koval Cc: PostgreSQL Hackers References: <171085360143.2046436.7217841141682511557.pgcf@coridan.postgresql.org> <171085858750.2046434.12246066729700037354.pgcf@coridan.postgresql.org> <909e16b4-9eda-435c-b033-8294ae4adc05@postgrespro.ru> <3a4b9c1c-3edf-4e29-9629-b4113aefb0f3@postgrespro.ru> <28ed1ee0-749d-9838-955e-abff42fc44be@gmail.com> From: Alexander Lakhin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Alexander and Dmitry, 10.04.2024 02:03, Alexander Korotkov wrote: > On Mon, Apr 8, 2024 at 11:43 PM Dmitry Koval wrote: >> Attached fix for the problems found by Alexander Lakhin. >> >> About grammar errors. >> Unfortunately, I don't know English well. >> Therefore, I plan (in the coming days) to show the text to specialists >> who perform technical translation of documentation. > Thank you. I've pushed this fix with minor corrections from me. Thank you for fixing that defect! Please look at an error message emitted for foreign tables: CREATE TABLE t (i int) PARTITION BY RANGE (i); CREATE FOREIGN TABLE ftp_0_1 PARTITION OF t   FOR VALUES FROM (0) TO (1)   SERVER loopback OPTIONS (table_name 'lt_0_1'); CREATE FOREIGN TABLE ftp_1_2 PARTITION OF t   FOR VALUES FROM (1) TO (2)   SERVER loopback OPTIONS (table_name 'lt_1_2'); ALTER TABLE t MERGE PARTITIONS (ftp_0_1, ftp_1_2) INTO ftp_0_2; ERROR:  "ftp_0_1" is not a table Shouldn't it be more correct/precise? Best regards, Alexander