Thread: Invalid reference to ForkNumber enum

Invalid reference to ForkNumber enum

From
Alexander Law
Date:
Hello,

There is an invalid reference to ForkNumber definition (from commit
f71939cd).
It was defined in relfilenode.h at time of the commit
(https://github.com/postgres/postgres/blob/f71939cd/src/include/storage/relfilenode.h),
but now it's defined in relpath.h
(https://github.com/postgres/postgres/blob/master/src/include/common/relpath.h).
Patch attached.

Best regards,
Alexander


Attachment

Re: Invalid reference to ForkNumber enum

From
Tom Lane
Date:
Alexander Law <exclusion@gmail.com> writes:
> There is an invalid reference to ForkNumber definition (from commit
> f71939cd).
> It was defined in relfilenode.h at time of the commit
> (https://github.com/postgres/postgres/blob/f71939cd/src/include/storage/relfilenode.h),
> but now it's defined in relpath.h
> (https://github.com/postgres/postgres/blob/master/src/include/common/relpath.h).
> Patch attached.

Yup, that's an oversight.  Pushed, thanks!

            regards, tom lane