Expand description
Struct definitions for all the postgres catalog tables that are DDL only, meaning only the tables and columns that describe the “schema” of the database are included. No oids, no transient server state or like clustering or tablespaces etc, and of course no actual table data.
oids pointing to other tables are translated to strings (as Str) representing their qualified name, using their “reg” cast if they have one, or are constructed manually using quote_ident if not. Objects that are contained in a namespace are prefixed with it, except for objects in the pg_catalog namespace due to the way search_path rules work.
Re-exports§
pub use ordered_float;
Structs§
- AclItem
- Access control items, similar to what you’d get if you called
aclexplode, except that grants are grouped by grantee/grantor pairs. - DbState
- A large wrapper struct that holds the results of all the other reflections.
Only includes information for the single database, which is why
pg_databaseisn’t a collection. Objects that are “cluster shared” such as roles are those for the entire cluster. - Grant
- PgAggregate
- The DDL-only contents of
pg_aggregate - PgAm
- The DDL-only contents of
pg_am - PgAmop
- The DDL-only contents of
pg_amop - PgAmproc
- The DDL-only contents of
pg_amproc - PgAttrdef
- The DDL-only contents of
pg_attrdef - PgAttribute
- The DDL-only contents of
pg_attribute - PgAuth
Members - The DDL-only contents of
pg_auth_members - PgCast
- The DDL-only contents of
pg_cast - PgClass
- The DDL-only contents of
pg_class - PgCollation
- The DDL-only contents of
pg_collation - PgConstraint
- The DDL-only contents of
pg_constraint - PgConversion
- The DDL-only contents of
pg_conversion - PgDatabase
- The DDL-only contents of
pg_database - PgDb
Role Setting - The DDL-only contents of
pg_db_role_setting - PgDefault
Acl - The DDL-only contents of
pg_default_acl - PgEnum
- The DDL-only contents of
pg_enum - PgEvent
Trigger - The DDL-only contents of
pg_event_trigger - PgExtension
- The DDL-only contents of
pg_extension - PgForeign
Data Wrapper - The DDL-only contents of
pg_foreign_data_wrapper - PgForeign
Server - The DDL-only contents of
pg_foreign_server - PgForeign
Table - The DDL-only contents of
pg_foreign_table - PgIndex
- The DDL-only contents of
pg_index - PgInherits
- The DDL-only contents of
pg_inherits - PgLanguage
- The DDL-only contents of
pg_language - PgMatviews
- The DDL-only contents of
pg_matviews - PgNamespace
- The DDL-only contents of
pg_namespace - PgOpclass
- The DDL-only contents of
pg_opclass - PgOperator
- The DDL-only contents of
pg_operator - PgOpfamily
- The DDL-only contents of
pg_opfamily - PgParameter
Acl - The DDL-only contents of
pg_parameter_acl - PgPartitioned
Table - The DDL-only contents of
pg_partitioned_table - PgPolicy
- The DDL-only contents of
pg_policy - PgProc
- The DDL-only contents of
pg_proc - PgPublication
- The DDL-only contents of
pg_publication - PgPublication
Namespace - The DDL-only contents of
pg_publication_namespace - PgPublication
Rel - The DDL-only contents of
pg_publication_rel - PgRange
- The DDL-only contents of
pg_range - PgRoles
- The DDL-only contents of
pg_roles - PgRules
- The DDL-only contents of
pg_rules - PgSequence
- The DDL-only contents of
pg_sequence - PgStatistic
Ext - The DDL-only contents of
pg_statistic_ext - PgSubscription
- The DDL-only contents of
pg_subscription - PgTransform
- The DDL-only contents of
pg_transform - PgTrigger
- The DDL-only contents of
pg_trigger - PgTs
Config - The DDL-only contents of
pg_ts_config - PgTs
Config Map - The DDL-only contents of
pg_ts_config_map - PgTs
Dict - The DDL-only contents of
pg_ts_dict - PgTs
Parser - The DDL-only contents of
pg_ts_parser - PgTs
Template - The DDL-only contents of
pg_ts_template - PgType
- The DDL-only contents of
pg_type - PgUser
Mappings - The DDL-only contents of
pg_user_mappings - PgViews
- The DDL-only contents of
pg_views - Str
- A
SmolStris a string type that has the following properties:
Enums§
- AclDefault
AclPrivilege - DbAcl
Privilege - Foreign
Data Wrapper AclPrivilege - Foreign
Server AclPrivilege - Function
AclPrivilege - Language
AclPrivilege - Parameter
AclPrivilege - PgAggregate
Aggfinalmodify - PgAggregate
Aggkind - PgAggregate
Aggmfinalmodify - PgAm
Amtype - PgAmop
Amoppurpose - PgAttribute
Attcompression - PgAttribute
Attgenerated - PgAttribute
Attidentity - PgAttribute
Initprivs Type - PgCast
Castcontext - PgCast
Castmethod - PgClass
Initprivs Type - PgClass
Relkind - PgClass
Relpersistence - PgClass
Relreplident - PgCollation
Collprovider - PgConstraint
Confdeltype - PgConstraint
Confmatchtype - PgConstraint
Confupdtype - PgConstraint
Contype - PgDatabase
Datlocprovider - PgDefault
AclDefaclobjtype - PgEvent
Trigger Evtenabled - PgForeign
Data Wrapper Initprivs Type - PgForeign
Server Initprivs Type - PgLanguage
Initprivs Type - PgNamespace
Initprivs Type - PgOperator
Oprkind - PgParameter
AclInitprivs Type - PgPartitioned
Table Partstrat - PgPolicy
Polcmd - PgProc
Proargmodes - PgProc
Prokind - PgProc
Proparallel - PgProc
Provolatile - PgStatistic
ExtStxkind - PgSubscription
Substream - PgSubscription
Subtwophasestate - PgTrigger
Tgenabled - PgType
Initprivs Type - PgType
Typalign - PgType
Typstorage - PgType
Typtype - Schema
AclPrivilege - Table
AclPrivilege - Table
Column AclPrivilege - Type
AclPrivilege
Type Aliases§
- AclDefault
AclItem - AclDefault
Grant - DbAcl
Item - DbGrant
- Foreign
Data Wrapper AclItem - Foreign
Data Wrapper Grant - Foreign
Server AclItem - Foreign
Server Grant - Function
AclItem - Function
Grant - Language
AclItem - Language
Grant - Map
- Parameter
AclItem - Parameter
Grant - Schema
AclItem - Schema
Grant - Set
- Table
AclItem - Table
Column AclItem - Table
Column Grant - Table
Grant - Type
AclItem - Type
Grant