pub struct PageFlags {
pub has_free_lines: bool,
pub page_full: bool,
pub all_visible: bool,
}Expand description
The bits of pd_flags.
Fields§
§has_free_lines: boolSome line pointers before pd_lower are unused and can be reused. A
hint: changes to it aren’t WAL-logged. Postgres’s PD_HAS_FREE_LINES.
page_full: boolAn UPDATE found no room on the page for its new row version, so pruning
the page may help. A hint too. Postgres’s PD_PAGE_FULL.
all_visible: boolEvery row on the page is visible to every transaction, current and
future. Set by VACUUM, along with the page’s bit in the visibility map.
Postgres’s PD_ALL_VISIBLE.
Trait Implementations§
impl Copy for PageFlags
impl Eq for PageFlags
impl StructuralPartialEq for PageFlags
Auto Trait Implementations§
impl Freeze for PageFlags
impl RefUnwindSafe for PageFlags
impl Send for PageFlags
impl Sync for PageFlags
impl Unpin for PageFlags
impl UnsafeUnpin for PageFlags
impl UnwindSafe for PageFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more