Re: BUG #16940: ERROR: unrecognized parameter

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #16940: ERROR: unrecognized parameter
Дата
Msg-id YFqLOjd/RQyeNKkU@paquier.xyz
обсуждение исходный текст
Ответ на Re: BUG #16940: ERROR: unrecognized parameter  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-bugs
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

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #16927: Postgres can`t access WAL files
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #16722: PG hanging on COPY when table has close to 2^32 toasts in the table.