mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Add some const qualifications
Add some const qualifications afforded by the previous change that added a const qualification to PageAddItemExtended(). Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> Reviewed-by: Peter Geoghegan <pg@bowt.ie> Discussion: https://www.postgresql.org/message-id/flat/c75cccf5-5709-407b-a36a-2ae6570be766@eisentraut.org
This commit is contained in:
@@ -57,7 +57,7 @@ typedef struct KeyArray
|
||||
*/
|
||||
static int32
|
||||
writeListPage(Relation index, Buffer buffer,
|
||||
IndexTuple *tuples, int32 ntuples, BlockNumber rightlink)
|
||||
const IndexTuple *tuples, int32 ntuples, BlockNumber rightlink)
|
||||
{
|
||||
Page page = BufferGetPage(buffer);
|
||||
int32 i,
|
||||
|
||||
Reference in New Issue
Block a user