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 1uMz2W-008ufa-7U for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Jun 2025 01:05:04 +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 1uMz2U-001sFD-AC for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Jun 2025 01:05:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uMz2U-001sF5-0b for pgsql-hackers@lists.postgresql.org; Thu, 05 Jun 2025 01:05:02 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uMz2S-000GOn-2Y for pgsql-hackers@lists.postgresql.org; Thu, 05 Jun 2025 01:05:01 +0000 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-4a44e3928a9so4569931cf.2 for ; Wed, 04 Jun 2025 18:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749085500; x=1749690300; 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=aEiH+Z/0tb2vBCMdJ9BLWWrlbOccHGKBpNFbSZZkDjg=; b=m2XJ8D+OvONDsrxwiwQ3qbL4yq5orrl2uBH6ys7v7e7pL/L6fRANEfQHv+CYAWXpFU XhCEdfzsfKfjhWyNFyPlm0CXGujJe082EFCJoc4Do/dgnVqVfgXyFjIPgtRvxmhi2cR3 lEOXw6/+Mfl3V5Oq8sRnsiYLEvueEDVa5DARSwSu+r7Z3nIrfztyTBd9buQ/Jsw9ul+d 5JXspS02fnOtWQ/bQjKqjBtcX5SP05NEYCQMTvWbH/oBHRR++U+PZFg3+OhMuLh6fsrn dZy30BT39Qa6lc1j9QzYlm5sSyt5zLymyRoxcGnBOGP/6IjdmINSGl0jmLDAVAEeiFTk l0sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749085500; x=1749690300; 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=aEiH+Z/0tb2vBCMdJ9BLWWrlbOccHGKBpNFbSZZkDjg=; b=foYfr9balL+HF3KY9YMssinndmYwrTKEHqZkpYBAI+RlbREf3hIvJw+PXC56oE3/fK 10LsVE13pTy+uYxX83z+iDX6awmcY4j4y5CiMp1SvN/ppQjoS5naFFQEBDG2r31NthiO VFnqijZ2FNhqHVfQx5k4nGVBY6NnRYKfZhJgBak4ckEtjnoUatzoUbfOJCMkjHwGY9gb tYDJQ4/OhFLEanGogC9uXjlo2cHGqAia8yhc09yAwFBAChqT0sle3Co+TptlB0RkXQXD qnoY8wGsxqmduoxpXKJZp9VKPvlWYVJRNFgeBFJQr3UpTLYTyFZ3TVqcGSHmtSekrz+y xkoQ== X-Forwarded-Encrypted: i=1; AJvYcCXQGWk+T/U/qIjIldoVp+t/IpEIpWrugN2InqhrHmNRJIdJjBiEGELhyqRkqZ+Yslb8AD+xeN77EehjvSFq@lists.postgresql.org X-Gm-Message-State: AOJu0YxxeyAtFdOe77RBRbISW5xZZyFbJ6vkJhDuDoWVjDlS+RuYuQvI 628+47MjQRuulnJRMOtltdp/jQCxNlbpFlcXMBuQ+VZJboUKRhPegcvdN4dKGkRurRW8L/IqM0i HHEHx+brGQOKCTrrxHgphLwvmKoIBOg== X-Gm-Gg: ASbGncudyiRcMUaOQttCH0IYzafltt5mxCL5qi7zF01jOnENBNv4XefxEowQayOq3MY eI/JwoW2Lf89tWF9J7HFCM4G4+aw/UPslvti8puPCzpSgpcy6IUmxiz14+P2qK5ImBGj2xMkKmv RyB/LEkCe4wwkzyRSgOFO1E6EfWjiYxgbn X-Google-Smtp-Source: AGHT+IHDs8D/MoIoXLn2xj97d7Wv/jUOoiYkpdsd1OSZDX8jPlE5NYWB4A9qK2Nn+cu1fgygKUjB8Um+Wun56bgNFJA= X-Received: by 2002:a05:622a:1f9a:b0:476:a03b:96ec with SMTP id d75a77b69052e-4a5a585f492mr90512361cf.32.1749085499653; Wed, 04 Jun 2025 18:04:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shinya Kato Date: Thu, 5 Jun 2025 10:04:23 +0900 X-Gm-Features: AX0GCFulFOcdC7isNjfKRGsuFI9RodkFPjdXfPEOyli7--WAUksmz01q9rIImzM Message-ID: Subject: Re: Partitioned tables and [un]loggedness To: Michael Paquier Cc: Nathan Bossart , "David G. Johnston" , Postgres 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 On Thu, Jun 5, 2025 at 9:23=E2=80=AFAM Michael Paquier wrote: > Agreed to not suggest the PARTITION BY clause in the tab completion as > it is not supported by the backend for unlogged tables. > tab-complete.in.c has some handling for CREATE UNLOGGED TABLE around > line 3667, so we could just have an extra case for it, like in the > attached patch. A split already exists for temporary tables to handle > the ON COMMIT clause after the attribute list. > > Thoughts? Thank you. It looks good to me. --=20 Best regards, Shinya Kato NTT OSS Center