Hi Michael,
On 10/27/20 8:44 PM, Justin Pryzby wrote:
3. I have a patch which changes index_drop() to "expand" a partitioned index
into
its list of children. Each of these becomes a List:
| indexId, heapId, userIndexRelation, userHeapRelation, heaplocktag, heaprelid,
indexrelid
The same process is followed as for a single index, but handling all partitions
at once in two transactions total. Arguably, this is bad since that function
currently takes a single Oid but would now ends up operating on a list of
indexes.
This is what's implemented in the attached. It's very possible I've missed
opportunities for better simplification/integration.
It appears there are still some issues to be resolved with this patch,
but the next step seems to be for you to have a look at Justin's most
recent patch.
Regards,
--
-David
da...@pgmasters.net