On Wed, Jan 22, 2025 at 01:54:32AM +0300, Melih Mutlu wrote: > I confirm that the patch introduces some improvement in simple cases like > the one you shared. I looked around a bit to understand whether there is an > obvious reason why copying from a partitioned table is not allowed, but > couldn't find one. It seems ok to me.
>From the original discussion [0], it seems like it was considered a nonessential part of an otherwise massive patch set. Perhaps it's time to revisit it. [0] https://postgr.es/m/CAA4eK1LqTqZkPSoonF5_cOz94OUZG9j0PNfLdhi_nPtW82fFVA%40mail.gmail.com -- nathan