pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix default_tablespace usage for partitioned tables
Date: Fri, 07 Jun 2019 04:49:19 +0000
Message-ID: <E1hZ6oZ-0002Ud-IJ@gemulon.postgresql.org> (raw)

Fix default_tablespace usage for partitioned tables

In commit 87259588d0ab I (Álvaro) tried to rationalize the determination
of tablespace to use for partitioned tables, but failed to handle the
default_tablespace case.  Repair and add proper tests.

Author: Amit Langote, Rushabh Lathia
Reported-by: Rushabh Lathia
Reviewed-by: Amit Langote, Álvaro Herrera
Discussion: https://postgr.es/m/CAGPqQf0cYjm1=rjxk_6gU0SjUS70=yFUAdCJLwWzh9bhNJnyVg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a36c84c3e4a9bee6baa740848f67a5db3fa279b0

Modified Files
--------------
src/backend/commands/tablecmds.c          |  8 +++--
src/test/regress/input/tablespace.source  | 34 +++++++++++++++++----
src/test/regress/output/tablespace.source | 50 ++++++++++++++++++++++++-------
3 files changed, 73 insertions(+), 19 deletions(-)



Message-ID: <E1hZ6oZ-0002Ud-IJ@gemulon.postgresql.org>
Permalink:  ../E1hZ6oZ-0002Ud-IJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hZ6oZ-0002Ud-IJ@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix default_tablespace usage for partitioned tables
  In-Reply-To: <E1hZ6oZ-0002Ud-IJ@gemulon.postgresql.org>
  References: <E1hZ6oZ-0002Ud-IJ@gemulon.postgresql.org>

* 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