Re: no partition pruning when partitioning using array type
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2018-07-11T04:12:35Z
Lists: pgsql-hackers
On 2018-Jul-11, Amit Langote wrote: > What's the solution here then? Prevent domains as partition key? Maybe if a domain is used in a partition key somewhere, prevent constraints from being added? Another thing worth considering: are you prevented from dropping a domain that's used in a partition key? If not, you get an ugly message when you later try to drop the table. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Better handle pseudotypes as partition keys
- b6e3a3a492db 12.0 landed
- e7df94f317c9 11.0 landed
- 7c644b7d3f83 10.5 landed