Re: small erreport bug over partitioned table pgrowlocks module

2023-10-30 Thread David Rowley
On Tue, 31 Oct 2023 at 13:18, David Rowley wrote: > Here's a patch that puts the relam check last. I've pushed that patch. David

Re: small erreport bug over partitioned table pgrowlocks module

2023-10-30 Thread David Rowley
On Tue, 31 Oct 2023 at 13:00, jian he wrote: > 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_TAB

small erreport bug over partitioned table pgrowlocks module

2023-10-30 Thread jian he
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)