Re: partition pruning only works for select but update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"James Pang (chaolpan)" <chaolpan@xxxxxxxxx> writes:
> But when
> Explain update table set .. where  partitionkey between  to_timestamp() and to_timestamp();
>   It still show all of partitions with update ...

In releases before v14, partition pruning is far stupider for UPDATE
(and DELETE) than it is for SELECT.

			regards, tom lane






[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux