The following bug has been logged on the website:
Bug reference: 15490
Logged by: TaeHoon Kim
Email address: kth999@gmail.com
PostgreSQL version: 11.0
Operating system: Windows 10
Description:
The automatically added index on a newly added partition is in a default
tablespace, not the tablespace specified in the index for the partitioned
table.