3 ms·
I encountered the same limitations as you while implementing partitioning a few months ago and it's possible to use ON CONFLICT if the unique index is set on th
by LunaSea 8y ago
I encountered the same limitations as you while implementing partitioning a few months ago and it's possible to use ON CONFLICT if the unique index is set on the partitioned table.
So after initialising a new partition, I also create a unique index attached to that partition directly instead of the parent table.
- shrumm 8y agowow thanks, I never thought to try it, just dismissed it and never dig further. I’ll try this!