Hi,
On 2020-03-23 23:26:08 -0700, postgres(at)jasonk(dot)me wrote:
> Normally, you are not allowed to `ALTER DATABASE ... SET TABLESPACE` when the
> target tablespace is in use by a table in the database. However, this check
> doesn't seem to apply to partitioned tables, and that can lead to unexpected
> behavior.
I don't immediately see what problem this could cause? There's no
physical file associated with a partitioned table, it's "just" a
template for new partitions of that partitioned table.
Greetings,
Andres Freund