Struct pgrx_pg_sys::RelationData
source · #[repr(C)]pub struct RelationData {Show 65 fields
pub rd_node: RelFileNode,
pub rd_smgr: SMgrRelation,
pub rd_refcnt: c_int,
pub rd_backend: BackendId,
pub rd_islocaltemp: bool,
pub rd_isnailed: bool,
pub rd_isvalid: bool,
pub rd_indexvalid: bool,
pub rd_statvalid: bool,
pub rd_createSubid: SubTransactionId,
pub rd_newRelfilenodeSubid: SubTransactionId,
pub rd_firstRelfilenodeSubid: SubTransactionId,
pub rd_droppedSubid: SubTransactionId,
pub rd_rel: Form_pg_class,
pub rd_att: TupleDesc,
pub rd_id: Oid,
pub rd_lockInfo: LockInfoData,
pub rd_rules: *mut RuleLock,
pub rd_rulescxt: MemoryContext,
pub trigdesc: *mut TriggerDesc,
pub rd_rsdesc: *mut RowSecurityDesc,
pub rd_fkeylist: *mut List,
pub rd_fkeyvalid: bool,
pub rd_partkey: PartitionKey,
pub rd_partkeycxt: MemoryContext,
pub rd_partdesc: PartitionDesc,
pub rd_pdcxt: MemoryContext,
pub rd_partdesc_nodetached: PartitionDesc,
pub rd_pddcxt: MemoryContext,
pub rd_partdesc_nodetached_xmin: TransactionId,
pub rd_partcheck: *mut List,
pub rd_partcheckvalid: bool,
pub rd_partcheckcxt: MemoryContext,
pub rd_indexlist: *mut List,
pub rd_pkindex: Oid,
pub rd_replidindex: Oid,
pub rd_statlist: *mut List,
pub rd_indexattr: *mut Bitmapset,
pub rd_keyattr: *mut Bitmapset,
pub rd_pkattr: *mut Bitmapset,
pub rd_idattr: *mut Bitmapset,
pub rd_pubactions: *mut PublicationActions,
pub rd_options: *mut bytea,
pub rd_amhandler: Oid,
pub rd_tableam: *const TableAmRoutine,
pub rd_index: Form_pg_index,
pub rd_indextuple: *mut HeapTupleData,
pub rd_indexcxt: MemoryContext,
pub rd_indam: *mut IndexAmRoutine,
pub rd_opfamily: *mut Oid,
pub rd_opcintype: *mut Oid,
pub rd_support: *mut RegProcedure,
pub rd_supportinfo: *mut FmgrInfo,
pub rd_indoption: *mut int16,
pub rd_indexprs: *mut List,
pub rd_indpred: *mut List,
pub rd_exclops: *mut Oid,
pub rd_exclprocs: *mut Oid,
pub rd_exclstrats: *mut uint16,
pub rd_indcollation: *mut Oid,
pub rd_opcoptions: *mut *mut bytea,
pub rd_amcache: *mut c_void,
pub rd_fdwroutine: *mut FdwRoutine,
pub rd_toastoid: Oid,
pub pgstat_info: *mut PgStat_TableStatus,
}
Fields§
§rd_node: RelFileNode
§rd_smgr: SMgrRelation
§rd_refcnt: c_int
§rd_backend: BackendId
§rd_islocaltemp: bool
§rd_isnailed: bool
§rd_isvalid: bool
§rd_indexvalid: bool
§rd_statvalid: bool
§rd_createSubid: SubTransactionId
§rd_newRelfilenodeSubid: SubTransactionId
§rd_firstRelfilenodeSubid: SubTransactionId
§rd_droppedSubid: SubTransactionId
§rd_rel: Form_pg_class
§rd_att: TupleDesc
§rd_id: Oid
§rd_lockInfo: LockInfoData
§rd_rules: *mut RuleLock
§rd_rulescxt: MemoryContext
§trigdesc: *mut TriggerDesc
§rd_rsdesc: *mut RowSecurityDesc
§rd_fkeylist: *mut List
§rd_fkeyvalid: bool
§rd_partkey: PartitionKey
§rd_partkeycxt: MemoryContext
§rd_partdesc: PartitionDesc
§rd_pdcxt: MemoryContext
§rd_partdesc_nodetached: PartitionDesc
§rd_pddcxt: MemoryContext
§rd_partdesc_nodetached_xmin: TransactionId
§rd_partcheck: *mut List
§rd_partcheckvalid: bool
§rd_partcheckcxt: MemoryContext
§rd_indexlist: *mut List
§rd_pkindex: Oid
§rd_replidindex: Oid
§rd_statlist: *mut List
§rd_indexattr: *mut Bitmapset
§rd_keyattr: *mut Bitmapset
§rd_pkattr: *mut Bitmapset
§rd_idattr: *mut Bitmapset
§rd_pubactions: *mut PublicationActions
§rd_options: *mut bytea
§rd_amhandler: Oid
§rd_tableam: *const TableAmRoutine
§rd_index: Form_pg_index
§rd_indextuple: *mut HeapTupleData
§rd_indexcxt: MemoryContext
§rd_indam: *mut IndexAmRoutine
§rd_opfamily: *mut Oid
§rd_opcintype: *mut Oid
§rd_support: *mut RegProcedure
§rd_supportinfo: *mut FmgrInfo
§rd_indoption: *mut int16
§rd_indexprs: *mut List
§rd_indpred: *mut List
§rd_exclops: *mut Oid
§rd_exclprocs: *mut Oid
§rd_exclstrats: *mut uint16
§rd_indcollation: *mut Oid
§rd_opcoptions: *mut *mut bytea
§rd_amcache: *mut c_void
§rd_fdwroutine: *mut FdwRoutine
§rd_toastoid: Oid
§pgstat_info: *mut PgStat_TableStatus
Trait Implementations§
source§impl Clone for RelationData
impl Clone for RelationData
source§fn clone(&self) -> RelationData
fn clone(&self) -> RelationData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RelationData
impl Debug for RelationData
source§impl Default for RelationData
impl Default for RelationData
impl Copy for RelationData
Auto Trait Implementations§
impl Freeze for RelationData
impl RefUnwindSafe for RelationData
impl !Send for RelationData
impl !Sync for RelationData
impl Unpin for RelationData
impl UnwindSafe for RelationData
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