Alvaro Herrera <alvhe...@2ndquadrant.com> writes:
> Patch attached.

Seems like a couple of the comments could use updates:

>    * Note: RM_MAX_ID could be as much as 255 without breaking the XLOG file
>    * format, but we keep it small to minimize the size of RmgrTable[].

This is no longer particularly sensible, since we're no longer making
any provision for wasted RmgrIds.  Perhaps rephrase as "RM_MAX_ID must
fit in RmgrId; widening that type will affect the XLOG file format."

> +  * List of resource manager entries.  Note that order of entries defines the
> +  * numerical values of each rmgr's ID.
> +  *
> +  * Changes to this list possibly need a XLOG_PAGE_MAGIC bump.

Probably also a good idea to state explicitly that new entries should go
at the end to avoid moving the IDs of existing entries.

Works for me otherwise.

                        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to