Does Yugabyte support `CREATE DATABASE` with a custom tablespace?

https://www.npgsql.org/efcore/misc/database-creation.html#setting-a-tablespace

Regarding Npgsql’s integration with EF Core, it seems limited to specifying a tablespace only for the CREATE DATABASE operation, which isn’t ideal. Anyways, does Yugabyte support setting affinity for an entire database through a tablespace?

You can run custom SQL.


Yes, but note that tablespaces work differently in Yugabyte:

Fyi - SET A DEFAULT TABLESPACE FOR A DATABASE

Ah. Cool.

It seems like Yugabyte has more features than documented…