Re: Indexes on partitioned tables and foreign partitions
| От | Simon Riggs | 
|---|---|
| Тема | Re: Indexes on partitioned tables and foreign partitions | 
| Дата | |
| Msg-id | CANP8+j+L5W22kuiMMwtjhanqMMos_eRfuE=K6V4Krw_hgpgEcA@mail.gmail.com обсуждение исходный текст  | 
		
| Ответ на | Indexes on partitioned tables and foreign partitions (Arseny Sher <a.sher@postgrespro.ru>) | 
| Ответы | 
                	
            		Re: Indexes on partitioned tables and foreign partitions
            		
            		 Re: Indexes on partitioned tables and foreign partitions  | 
		
| Список | pgsql-hackers | 
On 9 May 2018 at 12:50, Arseny Sher <a.sher@postgrespro.ru> wrote: > Hi, > > 8b08f7d4 added propagation of indexes on partitioned tables to > partitions, which is very cool. However, index creation also recurses > down to foreign tables. I doubt this is intentional, as such indexes are > forbidden as not making much sense; attempt to create index on > partitioned table with foreign partition leads to an error > now. Attached lines fix this. "Fix"? How much sense is it to have a partitioned table with a mix of local and foreign tables? Shouldn't the fix be to allow creation of indexes on foreign tables? (Maybe they would be virtual or foreign indexes??) -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: