small erreport bug over partitioned table pgrowlocks module

Поиск
Список
Период
Сортировка
От jian he
Тема small erreport bug over partitioned table pgrowlocks module
Дата
Msg-id CACJufxFaSp_WguFCf0X98951zFVX+dXFnF1mxAb-G3g1HiHOow@mail.gmail.com
обсуждение исходный текст
Ответы Re: small erreport bug over partitioned table pgrowlocks module  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
hi.
erreport bug over partitioned table in pgrowlocks.

BEGIN;
CREATE TABLE fk_parted_pk (a int PRIMARY KEY) PARTITION BY LIST (a);
SELECT * FROM pgrowlocks('fk_parted_pk');
ERROR:  only heap AM is supported

error should be the following part:
if (rel->rd_rel->relkind == RELKIND_PARTITIONED_TABLE)
ereport(ERROR,
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
errmsg("\"%s\" is a partitioned table",
RelationGetRelationName(rel)),
errdetail("Partitioned tables do not contain rows.")));



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgBufferUsage.blk_{read|write}_time are zero although there are pgBufferUsage.local_blks_{read|written}
Следующее
От: David Rowley
Дата:
Сообщение: Re: small erreport bug over partitioned table pgrowlocks module