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 1srN5U-000uwJ-6v for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Sep 2024 19:45:12 +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 1srN5R-006v01-9s for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Sep 2024 19:45:10 +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 1srN5R-006uzt-0E for pgsql-hackers@lists.postgresql.org; Thu, 19 Sep 2024 19:45:10 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1srN5O-00049z-Oh for pgsql-hackers@lists.postgresql.org; Thu, 19 Sep 2024 19:45:09 +0000 Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-82aa7c3b3dbso70135739f.2 for ; Thu, 19 Sep 2024 12:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726775107; x=1727379907; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=tCXz8smtDPA+MFouqkiWWZbvCvc+yfXzlhYx1rRMejY=; b=iD8p93S51X77/R9tJvcVHLlIuIwb+0nRcI8OsJ1xUvwwi+QAghRxlUtavwj73HOsJu +uzAxc3sJ/clHLL3TrfvBFTYVNh9EB9izjMbAWh5DfAtme813E8e76jfeqw6UucaK7T9 Fd8VrHIQ+qjlkviSlYu7t2PxvN9stfhd3K4iebIqG64I+Ri+rtND8TF6BPW+ALpH+tVn k1eZmAkc4iugINBhjnLTI1/aOt5A1Qrz2ufouHCbyHf0Lz+ZJutqgpGBlVhGPUpxRkS5 XlhzFnwYanl03ZW1R8H+oLuUraxroM6iyCETJTTVl/Fl6I/KP9HyvB8Ll56wN1fwRgMv pJBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726775107; x=1727379907; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tCXz8smtDPA+MFouqkiWWZbvCvc+yfXzlhYx1rRMejY=; b=PNAR58nEM2viQB/SP8gOQCGy6wU6Oz4plavtM5ZuGGZCsL81HnW1F29+nlEgVE1Whr De4ML4yGsuhwKRLLtWHOCBZk0ngPDO16yK/fDXer1OAqMf23TK6y1zsSpeKthZFz9XL5 oBptvX3n/g6GnkopTQyfnz/W0qlKbzpZNrSRP3LL3e4EsObnb+Ch8bq/mOv//W4gwC8q e1LnwUL+QWFJP9yL/pso45IQm7QnZ2YLHsyQqCKppz6Qw2RR8q1lAVx7jxOV1FFsSkKI V5Yv1zPfrFbMeNp0bCWUujFYgSanadx1DaNt2XhLaBwX58o7o60ydpQnRyy90ffIjAyK prmg== X-Forwarded-Encrypted: i=1; AJvYcCXy3VDZWNljbS7ipjwOzlrjjZmpsQAB/PpEDhNLNbze2pKqLnvGIn+5UtpRO6MjxkryAn+2N1GSEAf6VJPX@lists.postgresql.org X-Gm-Message-State: AOJu0YyETriRVaGN61/tZM2tAcu2sZhsklI+DcfO0EDc/qXInTKynIhE vmtt9AXKaY39oNTJfQ2oyZ/VKNtB8ldbu3fNlbzRScV/NSyKWRKC X-Google-Smtp-Source: AGHT+IGoFSkWFmL847L/7mG9xHA3w3qb/oT3nHwASCbDtyWEb5wwm2rNeJYrsak41oSjNUrKXdH6QQ== X-Received: by 2002:a05:6602:154b:b0:805:3d47:19d6 with SMTP id ca18e2360f4ac-8320b280526mr13726639f.6.1726775106821; Thu, 19 Sep 2024 12:45:06 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4d37ec3d032sm3148355173.79.2024.09.19.12.45.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2024 12:45:06 -0700 (PDT) Date: Thu, 19 Sep 2024 14:45:04 -0500 From: Nathan Bossart To: Alvaro Herrera Cc: Michael Paquier , "David G. Johnston" , Postgres hackers Subject: Re: Partitioned tables and [un]loggedness Message-ID: References: <202409190803.tnis52adt2n5@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202409190803.tnis52adt2n5@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Sep 19, 2024 at 10:03:09AM +0200, Alvaro Herrera wrote: > It looks to me like these cases could be modified to accept only > ATT_PARTITIONED_TABLE, not ATT_TABLE anymore. The ATT_TABLE cases are > useless anyway, because they're rejected by transformPartitionCmd. +1. If anything, this makes the error messages more consistent. -- nathan