Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j9wtF-0004sp-Vy for pgsql-general@arkaria.postgresql.org; Thu, 05 Mar 2020 20:14:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j9wtE-0001TD-Pt for pgsql-general@arkaria.postgresql.org; Thu, 05 Mar 2020 20:14:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j9wtE-0001T5-Bj for pgsql-general@lists.postgresql.org; Thu, 05 Mar 2020 20:14:40 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j9wtB-0003hY-Lj for pgsql-general@lists.postgresql.org; Thu, 05 Mar 2020 20:14:39 +0000 Received: by mail-qk1-x72a.google.com with SMTP id z12so62277qkg.12 for ; Thu, 05 Mar 2020 12:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=stzMzAR8pSvAvxCgE3VVUgMTX0CZgdBq3NFeQ/yGIr0=; b=NNjKmA33fFlL2aNSS+wqdpMn7n5ZlYexN9m5+Ss6FcYq+ML3quO7PLumVD4X+hnCw6 hWzMkKZ6f7RMB2w44VNSinX3/Qm0razrEMmGtepfTwZWmXERekYVQme0Ucm1f+844zY0 CUXfy27gFY09z699bex1rih8p3aQTTw/22Cw18VNnRw54fBenLDtpB7un+aET6KwRmbL oa+ctQLZ3SmhJ8Ybu/qHMJBD5HaU0kHgJU/0l6imSPFqnmAJgqougbJ4u46iIsR52f0L e/Afc8HQ8LCMIp9ieLxhUOSf11sXqbgsG02siPQzY7IyiIfBbP44JV2DVOmqmL64P+JE kVIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=stzMzAR8pSvAvxCgE3VVUgMTX0CZgdBq3NFeQ/yGIr0=; b=CX6/BGZLi24jc7d76vH46WqqAeyu5Hcbo1CSz31ZJAnVdxczJPOdI5VT310SdlY6SB Uve1cVI1AT3ivWS0fv3OOU7rUQXKwz6cIbRD3vtMteAcMwjOatEAG+90iyvxWa7Whibm PrLVipX7Ihp5fm2Z3/VqsdI9oFGjjdLhhj58rjGVObEjziJ1UhoBI5cShGK03mHjFTPs XivJS3Rp3NCrovz7Bu2abCJhqM3q0BM1uOlw/rbn+Tf0I03UtGB/7lbEeqrIuMSu73Cg fkQ2AXdOtecpoQNZqajTFX6Gs2Dr16h754HYsUj/F8ErjkQzmgcUjhu/QGH8ByO7sqaj 9XFg== X-Gm-Message-State: ANhLgQ37sjwsvqEaYZ2+YgQZ5hIa0zjOZoKNPk0LqtusTAWE1fBPrBXa i10lSmMJotBwHh8wcJOyOhI15Q== X-Google-Smtp-Source: ADFU+vs1EwNpbt9PA89M1ldaN7tP56oWrlniFAgrsDB7H8fiRiLDOjHBCX11zQ/oqAHwOrzyC0+94Q== X-Received: by 2002:a05:620a:16b8:: with SMTP id s24mr9992429qkj.104.1583439275775; Thu, 05 Mar 2020 12:14:35 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([201.186.208.119]) by smtp.gmail.com with ESMTPSA id r46sm204300qtb.87.2020.03.05.12.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 12:14:35 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 281BC3007D2; Thu, 5 Mar 2020 17:14:32 -0300 (-03) Date: Thu, 5 Mar 2020 17:14:32 -0300 From: Alvaro Herrera To: Adrian Klaver Cc: nikhil raj , pgsql-general@lists.postgresql.org Subject: Re: Getting a error on creating a partition table index 12.2. Message-ID: <20200305201432.GA9964@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0df4e42e-33e5-bfa5-fe51-5d3a932e2f82@aklaver.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Mar-05, Adrian Klaver wrote: > The OP was wondering why it worked in 12.1 and not 12.2? > > I could not see any obvious reason for that, so: > > 1) There is a not obvious reason > > 2) It did not work in 12.1 either. (2) is correct. 55469 12.1 9913=# show server_version; server_version ──────────────── 12.1 (1 fila) 55469 12.1 9913=# create index on p (a) tablespace pg_default; ERROR: cannot specify default tablespace for partitioned relations -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services