#[repr(C)]
pub struct RelationData {
Show 65 fields pub rd_node: RelFileNode, pub rd_smgr: *mut SMgrRelationData, 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: *mut SMgrRelationData§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

source§

fn clone(&self) -> RelationData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RelationData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RelationData

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for RelationData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.