On Tue, Mar 23, 2021 at 04:26:41PM +0100, Guillaume Lelarge wrote:
> You can't use storage parameters on partitioned tables, as the fine docs
> say: "Specifying these parameters for partitioned tables is not supported,
> but you may specify them for individual leaf partitions." See
> https://www.postgresql.org/docs/13/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS
Partitioned tables have no relation options. As of reloptions.c:
bytea *
partitioned_table_reloptions(Datum reloptions, bool validate)
{
/*
* There are no options for partitioned tables yet, but this is able to do
* some validation.
*/
return (bytea *) build_reloptions(reloptions, validate,
RELOPT_KIND_PARTITIONED,
0, NULL, 0);
}
--
Michael