mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Add page id to bloom index
Added to ensure that bloom index pages can be distinguished from other pages by pg_filedump. Because there wasn't any public/production versions before, it doesn't pay attention to any compatibility issues. Per notice from Tom Lane
This commit is contained in:
@ -359,6 +359,7 @@ BloomInitPage(Page page, uint16 flags)
|
||||
opaque = BloomPageGetOpaque(page);
|
||||
memset(opaque, 0, sizeof(BloomPageOpaqueData));
|
||||
opaque->flags = flags;
|
||||
opaque->bloom_page_id = BLOOM_PAGE_ID;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user