Skip to content

Commit 0659512

Browse files
author
Marina Polyakova
committed
Replace BackendIds with 0-based ProcNumbers
See the commit 024c521117579a6d356050ad3d78fdc95e44eefa (Replace BackendIds with 0-based ProcNumbers) in PostgreSQL 17devel. Thanks to Yuriy Sokolov for the review.
1 parent 1b517ac commit 0659512

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ptrack.h

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
#define nodeOf(ndbck) (ndbck).node
4848
#endif
4949

50+
#if PG_VERSION_NUM >= 170000
51+
#define InvalidBackendId INVALID_PROC_NUMBER
52+
#endif
53+
5054
/*
5155
* Structure identifying block on the disk.
5256
*/

0 commit comments

Comments
 (0)