Re: Some RELKIND macro refactoring

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>, Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-12-03T13:12:35Z
Lists: pgsql-hackers
On 23.11.21 16:09, Alvaro Herrera wrote:
> In init_fork(), there's a typo:
> 
> +        * For tables, the AM callback creates both the main and the init fork.
> should read:
> +        * For tables, the AM callback creates both the main and the init forks.

I believe the original wording is correct.

> Overall, LGTM.

Committed with the (other) suggested adjustments.




Commits

  1. Some RELKIND macro refactoring

  2. pg_dump: Add missing relkind case

  3. Fix handling of partitioned index in RelationGetNumberOfBlocksInFork()