From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix default_tablespace usage for partitioned tables |
Date: | 2019-06-07 04:49:19 |
Message-ID: | E1hZ6oZ-0002Ud-IJ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2019-06-07 09:47:09 | pgsql: Fix copy-pasto in freeing memory on error in vacuumlo. |
Previous Message | Amit Kapila | 2019-06-07 00:22:15 | pgsql: Fix inconsistency in comments atop ExecParallelEstimate. |