Invalid reference to ForkNumber enum

Started by Alexander Lakhinalmost 10 years ago2 messagesdocs
Jump to latest
#1Alexander Lakhin
exclusion@gmail.com

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

Attachments:

pgbuffercache.patchtext/x-patch; name=pgbuffercache.patchDownload+1-1
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alexander Lakhin (#1)
Re: Invalid reference to ForkNumber enum

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

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