pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: nikhil raj <nikhilraj474@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Getting a error on creating a partition table index 12.2.
Date: Thu, 5 Mar 2020 17:14:32 -0300
Message-ID: <20200305201432.GA9964@alvherre.pgsql> (raw)
In-Reply-To: <0df4e42e-33e5-bfa5-fe51-5d3a932e2f82@aklaver.com>

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





view thread (8+ messages)

Message-ID: <20200305201432.GA9964@alvherre.pgsql>
Permalink:  ../20200305201432.GA9964@alvherre.pgsql/
Also on:    postgresql.org/message-id/20200305201432.GA9964@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: alvherre@2ndquadrant.com, adrian.klaver@aklaver.com, nikhilraj474@gmail.com
  Subject: Re: Getting a error on creating a partition table index 12.2.
  In-Reply-To: <20200305201432.GA9964@alvherre.pgsql>
  References: <0df4e42e-33e5-bfa5-fe51-5d3a932e2f82@aklaver.com> <20200305201432.GA9964@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox