neon_write() function is not used on v17

ifdef it out on v17, to silence compiler warning.

Part of the cleanup issue #9217.
This commit is contained in:
Heikki Linnakangas
2024-10-07 23:49:20 +03:00
parent e763256448
commit 0a80dbce83

View File

@@ -3197,6 +3197,7 @@ hexdump_page(char *page)
}
#endif
#if PG_MAJORVERSION_NUM < 17
/*
* neon_write() -- Write the supplied block at the appropriate location.
*
@@ -3270,6 +3271,7 @@ neon_write(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const vo
#endif
#endif
}
#endif