Skip to content

Commit

Permalink
Replace BackendIds with 0-based ProcNumbers
Browse files Browse the repository at this point in the history
See the commit 024c521117579a6d356050ad3d78fdc95e44eefa (Replace BackendIds
with 0-based ProcNumbers) in PostgreSQL 17devel.

Thanks to Yuriy Sokolov for the review.
  • Loading branch information
Marina Polyakova committed Apr 3, 2024
1 parent 1b517ac commit 0659512
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ptrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
#define nodeOf(ndbck) (ndbck).node
#endif

#if PG_VERSION_NUM >= 170000
#define InvalidBackendId INVALID_PROC_NUMBER
#endif

/*
* Structure identifying block on the disk.
*/
Expand Down

0 comments on commit 0659512

Please sign in to comment.