Fix default_tablespace usage for partitioned tables
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +6 −2 |
| src/test/regress/input/tablespace.source | modified | +28 −6 |
| src/test/regress/output/tablespace.source | modified | +39 −11 |
Discussion
- behaviour change - default_tablesapce + partition table 11 messages · 2019-05-17 → 2019-06-07