model

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PgAggregate

type PgAggregate struct {
	Aggfnoid         string
	Aggkind          string
	Aggnumdirectargs int16
	Aggtransfn       string
	Aggfinalfn       string
	Aggcombinefn     string
	Aggserialfn      string
	Aggdeserialfn    string
	Aggmtransfn      string
	Aggminvtransfn   string
	Aggmfinalfn      string
	Aggfinalextra    bool
	Aggmfinalextra   bool
	Aggfinalmodify   string
	Aggmfinalmodify  string
	Aggsortop        string
	Aggtranstype     string
	Aggtransspace    int32
	Aggmtranstype    string
	Aggmtransspace   int32
	Agginitval       *string
	Aggminitval      *string
}

type PgAm

type PgAm struct {
	Oid       string
	Amname    string
	Amhandler string
	Amtype    string
}

type PgAmop

type PgAmop struct {
	Oid            string
	Amopfamily     string
	Amoplefttype   string
	Amoprighttype  string
	Amopstrategy   int16
	Amoppurpose    string
	Amopopr        string
	Amopmethod     string
	Amopsortfamily string
}

type PgAmproc

type PgAmproc struct {
	Oid             string
	Amprocfamily    string
	Amproclefttype  string
	Amprocrighttype string
	Amprocnum       int16
	Amproc          string
}

type PgAttrdef

type PgAttrdef struct {
	Oid     string
	Adrelid string
	Adnum   int16
	Adbin   string
}

type PgAttribute

type PgAttribute struct {
	Attrelid      string
	Attname       string
	Atttypid      string
	Attstattarget int32
	Attlen        int16
	Attnum        int16
	Attndims      int32
	Attcacheoff   int32
	Atttypmod     int32
	Attbyval      bool
	Attstorage    string
	Attalign      string
	Attnotnull    bool
	Atthasdef     bool
	Atthasmissing bool
	Attidentity   string
	Attgenerated  string
	Attisdropped  bool
	Attislocal    bool
	Attinhcount   int32
	Attcollation  string
	Attacl        *string
	Attoptions    *string
	Attfdwoptions *string
	Attmissingval *string
}

type PgAuthMembers

type PgAuthMembers struct {
	Roleid      string
	Member      string
	Grantor     string
	AdminOption bool
}

type PgAvailableExtensionVersions

type PgAvailableExtensionVersions struct {
	Name        *string
	Version     *string
	Installed   *bool
	Superuser   *bool
	Trusted     *bool
	Relocatable *bool
	Schema      *string
	Requires    *string
	Comment     *string
}

type PgAvailableExtensions

type PgAvailableExtensions struct {
	Name             *string
	DefaultVersion   *string
	InstalledVersion *string
	Comment          *string
}

type PgCast

type PgCast struct {
	Oid         string
	Castsource  string
	Casttarget  string
	Castfunc    string
	Castcontext string
	Castmethod  string
}

type PgClass

type PgClass struct {
	Oid                 string
	Relname             string
	Relnamespace        string
	Reltype             string
	Reloftype           string
	Relowner            string
	Relam               string
	Relfilenode         string
	Reltablespace       string
	Relpages            int32
	Reltuples           float32
	Relallvisible       int32
	Reltoastrelid       string
	Relhasindex         bool
	Relisshared         bool
	Relpersistence      string
	Relkind             string
	Relnatts            int16
	Relchecks           int16
	Relhasrules         bool
	Relhastriggers      bool
	Relhassubclass      bool
	Relrowsecurity      bool
	Relforcerowsecurity bool
	Relispopulated      bool
	Relreplident        string
	Relispartition      bool
	Relrewrite          string
	Relfrozenxid        string
	Relminmxid          string
	Relacl              *string
	Reloptions          *string
	Relpartbound        *string
}

type PgCollation

type PgCollation struct {
	Oid                 string
	Collname            string
	Collnamespace       string
	Collowner           string
	Collprovider        string
	Collisdeterministic bool
	Collencoding        int32
	Collcollate         string
	Collctype           string
	Collversion         *string
}

type PgConstraint

type PgConstraint struct {
	Oid           string
	Conname       string
	Connamespace  string
	Contype       string
	Condeferrable bool
	Condeferred   bool
	Convalidated  bool
	Conrelid      string
	Contypid      string
	Conindid      string
	Conparentid   string
	Confrelid     string
	Confupdtype   string
	Confdeltype   string
	Confmatchtype string
	Conislocal    bool
	Coninhcount   int32
	Connoinherit  bool
	Conkey        *string
	Confkey       *string
	Conpfeqop     *string
	Conppeqop     *string
	Conffeqop     *string
	Conexclop     *string
	Conbin        *string
}

type PgConversion

type PgConversion struct {
	Oid            string
	Conname        string
	Connamespace   string
	Conowner       string
	Conforencoding int32
	Contoencoding  int32
	Conproc        string
	Condefault     bool
}

type PgCursors

type PgCursors struct {
	Name         *string
	Statement    *string
	IsHoldable   *bool
	IsBinary     *bool
	IsScrollable *bool
	CreationTime *time.Time
}

type PgDatabase

type PgDatabase struct {
	Oid           string
	Datname       string
	Datdba        string
	Encoding      int32
	Datcollate    string
	Datctype      string
	Datistemplate bool
	Datallowconn  bool
	Datconnlimit  int32
	Datlastsysoid string
	Datfrozenxid  string
	Datminmxid    string
	Dattablespace string
	Datacl        *string
}

type PgDbRoleSetting

type PgDbRoleSetting struct {
	Setdatabase string
	Setrole     string
	Setconfig   *string
}

type PgDefaultACL

type PgDefaultACL struct {
	Oid             string
	Defaclrole      string
	Defaclnamespace string
	Defaclobjtype   string
	Defaclacl       string
}

type PgDepend

type PgDepend struct {
	Classid     string
	Objid       string
	Objsubid    int32
	Refclassid  string
	Refobjid    string
	Refobjsubid int32
	Deptype     string
}

type PgDescription

type PgDescription struct {
	Objoid      string
	Classoid    string
	Objsubid    int32
	Description string
}

type PgEnum

type PgEnum struct {
	Oid           string
	Enumtypid     string
	Enumsortorder float32
	Enumlabel     string
}

type PgEventTrigger

type PgEventTrigger struct {
	Oid        string
	Evtname    string
	Evtevent   string
	Evtowner   string
	Evtfoid    string
	Evtenabled string
	Evttags    *string
}

type PgExtension

type PgExtension struct {
	Oid            string
	Extname        string
	Extowner       string
	Extnamespace   string
	Extrelocatable bool
	Extversion     string
	Extconfig      *string
	Extcondition   *string
}

type PgForeignDataWrapper

type PgForeignDataWrapper struct {
	Oid          string
	Fdwname      string
	Fdwowner     string
	Fdwhandler   string
	Fdwvalidator string
	Fdwacl       *string
	Fdwoptions   *string
}

type PgForeignServer

type PgForeignServer struct {
	Oid        string
	Srvname    string
	Srvowner   string
	Srvfdw     string
	Srvtype    *string
	Srvversion *string
	Srvacl     *string
	Srvoptions *string
}

type PgForeignTable

type PgForeignTable struct {
	Ftrelid   string
	Ftserver  string
	Ftoptions *string
}

type PgGroup

type PgGroup struct {
	Groname  *string
	Grosysid *string
	Grolist  *string
}

type PgIndex

type PgIndex struct {
	Indexrelid     string
	Indrelid       string
	Indnatts       int16
	Indnkeyatts    int16
	Indisunique    bool
	Indisprimary   bool
	Indisexclusion bool
	Indimmediate   bool
	Indisclustered bool
	Indisvalid     bool
	Indcheckxmin   bool
	Indisready     bool
	Indislive      bool
	Indisreplident bool
	Indkey         string
	Indcollation   string
	Indclass       string
	Indoption      string
	Indexprs       *string
	Indpred        *string
}

type PgIndexes

type PgIndexes struct {
	Schemaname *string
	Tablename  *string
	Indexname  *string
	Tablespace *string
	Indexdef   *string
}

type PgInherits

type PgInherits struct {
	Inhrelid  string
	Inhparent string
	Inhseqno  int32
}

type PgInitPrivs

type PgInitPrivs struct {
	Objoid    string
	Classoid  string
	Objsubid  int32
	Privtype  string
	Initprivs string
}

type PgLanguage

type PgLanguage struct {
	Oid           string
	Lanname       string
	Lanowner      string
	Lanispl       bool
	Lanpltrusted  bool
	Lanplcallfoid string
	Laninline     string
	Lanvalidator  string
	Lanacl        *string
}

type PgLargeobjectMetadata

type PgLargeobjectMetadata struct {
	Oid      string
	Lomowner string
	Lomacl   *string
}

type PgLocks

type PgLocks struct {
	Locktype           *string
	Database           *string
	Relation           *string
	Page               *int32
	Tuple              *int16
	Virtualxid         *string
	Transactionid      *string
	Classid            *string
	Objid              *string
	Objsubid           *int16
	Virtualtransaction *string
	Pid                *int32
	Mode               *string
	Granted            *bool
	Fastpath           *bool
}

type PgMatviews

type PgMatviews struct {
	Schemaname   *string
	Matviewname  *string
	Matviewowner *string
	Tablespace   *string
	Hasindexes   *bool
	Ispopulated  *bool
	Definition   *string
}

type PgNamespace

type PgNamespace struct {
	Oid      string
	Nspname  string
	Nspowner string
	Nspacl   *string
}

type PgOpclass

type PgOpclass struct {
	Oid          string
	Opcmethod    string
	Opcname      string
	Opcnamespace string
	Opcowner     string
	Opcfamily    string
	Opcintype    string
	Opcdefault   bool
	Opckeytype   string
}

type PgOperator

type PgOperator struct {
	Oid          string
	Oprname      string
	Oprnamespace string
	Oprowner     string
	Oprkind      string
	Oprcanmerge  bool
	Oprcanhash   bool
	Oprleft      string
	Oprright     string
	Oprresult    string
	Oprcom       string
	Oprnegate    string
	Oprcode      string
	Oprrest      string
	Oprjoin      string
}

type PgOpfamily

type PgOpfamily struct {
	Oid          string
	Opfmethod    string
	Opfname      string
	Opfnamespace string
	Opfowner     string
}

type PgPartitionedTable

type PgPartitionedTable struct {
	Partrelid     string
	Partstrat     string
	Partnatts     int16
	Partdefid     string
	Partattrs     string
	Partclass     string
	Partcollation string
	Partexprs     *string
}

type PgPolicies

type PgPolicies struct {
	Schemaname *string
	Tablename  *string
	Policyname *string
	Permissive *string
	Roles      *string
	Cmd        *string
	Qual       *string
	WithCheck  *string
}

type PgPolicy

type PgPolicy struct {
	Oid           string
	Polname       string
	Polrelid      string
	Polcmd        string
	Polpermissive bool
	Polroles      string
	Polqual       *string
	Polwithcheck  *string
}

type PgPreparedStatements

type PgPreparedStatements struct {
	Name           *string
	Statement      *string
	PrepareTime    *time.Time
	ParameterTypes *string
	FromSQL        *bool
}

type PgPreparedXacts

type PgPreparedXacts struct {
	Transaction *string
	Gid         *string
	Prepared    *time.Time
	Owner       *string
	Database    *string
}

type PgProc

type PgProc struct {
	Oid             string
	Proname         string
	Pronamespace    string
	Proowner        string
	Prolang         string
	Procost         float32
	Prorows         float32
	Provariadic     string
	Prosupport      string
	Prokind         string
	Prosecdef       bool
	Proleakproof    bool
	Proisstrict     bool
	Proretset       bool
	Provolatile     string
	Proparallel     string
	Pronargs        int16
	Pronargdefaults int16
	Prorettype      string
	Proargtypes     string
	Proallargtypes  *string
	Proargmodes     *string
	Proargnames     *string
	Proargdefaults  *string
	Protrftypes     *string
	Prosrc          string
	Probin          *string
	Proconfig       *string
	Proacl          *string
}

type PgPublication

type PgPublication struct {
	Oid          string
	Pubname      string
	Pubowner     string
	Puballtables bool
	Pubinsert    bool
	Pubupdate    bool
	Pubdelete    bool
	Pubtruncate  bool
	Pubviaroot   bool
}

type PgPublicationRel

type PgPublicationRel struct {
	Oid     string
	Prpubid string
	Prrelid string
}

type PgPublicationTables

type PgPublicationTables struct {
	Pubname    *string
	Schemaname *string
	Tablename  *string
}

type PgRange

type PgRange struct {
	Rngtypid     string
	Rngsubtype   string
	Rngcollation string
	Rngsubopc    string
	Rngcanonical string
	Rngsubdiff   string
}

type PgReplicationOrigin

type PgReplicationOrigin struct {
	Roident string
	Roname  string
}

type PgReplicationSlots

type PgReplicationSlots struct {
	SlotName          *string
	Plugin            *string
	SlotType          *string
	Datoid            *string
	Database          *string
	Temporary         *bool
	Active            *bool
	ActivePid         *int32
	Xmin              *string
	CatalogXmin       *string
	RestartLsn        *string
	ConfirmedFlushLsn *string
	WalStatus         *string
	SafeWalSize       *int64
}

type PgRewrite

type PgRewrite struct {
	Oid       string
	Rulename  string
	EvClass   string
	EvType    string
	EvEnabled string
	IsInstead bool
	EvQual    string
	EvAction  string
}

type PgRoles

type PgRoles struct {
	Rolname        *string
	Rolsuper       *bool
	Rolinherit     *bool
	Rolcreaterole  *bool
	Rolcreatedb    *bool
	Rolcanlogin    *bool
	Rolreplication *bool
	Rolconnlimit   *int32
	Rolpassword    *string
	Rolvaliduntil  *time.Time
	Rolbypassrls   *bool
	Rolconfig      *string
	Oid            *string
}

type PgRules

type PgRules struct {
	Schemaname *string
	Tablename  *string
	Rulename   *string
	Definition *string
}

type PgSeclabel

type PgSeclabel struct {
	Objoid   string
	Classoid string
	Objsubid int32
	Provider string
	Label    string
}

type PgSeclabels

type PgSeclabels struct {
	Objoid       *string
	Classoid     *string
	Objsubid     *int32
	Objtype      *string
	Objnamespace *string
	Objname      *string
	Provider     *string
	Label        *string
}

type PgSequence

type PgSequence struct {
	Seqrelid     string
	Seqtypid     string
	Seqstart     int64
	Seqincrement int64
	Seqmax       int64
	Seqmin       int64
	Seqcache     int64
	Seqcycle     bool
}

type PgSequences

type PgSequences struct {
	Schemaname    *string
	Sequencename  *string
	Sequenceowner *string
	DataType      *string
	StartValue    *int64
	MinValue      *int64
	MaxValue      *int64
	IncrementBy   *int64
	Cycle         *bool
	CacheSize     *int64
	LastValue     *int64
}

type PgSettings

type PgSettings struct {
	Name           *string
	Setting        *string
	Unit           *string
	Category       *string
	ShortDesc      *string
	ExtraDesc      *string
	Context        *string
	Vartype        *string
	Source         *string
	MinVal         *string
	MaxVal         *string
	Enumvals       *string
	BootVal        *string
	ResetVal       *string
	Sourcefile     *string
	Sourceline     *int32
	PendingRestart *bool
}

type PgShdepend

type PgShdepend struct {
	Dbid       string
	Classid    string
	Objid      string
	Objsubid   int32
	Refclassid string
	Refobjid   string
	Deptype    string
}

type PgShdescription

type PgShdescription struct {
	Objoid      string
	Classoid    string
	Description string
}

type PgShseclabel

type PgShseclabel struct {
	Objoid   string
	Classoid string
	Provider string
	Label    string
}

type PgStatActivity

type PgStatActivity struct {
	Datid           *string
	Datname         *string
	Pid             *int32
	LeaderPid       *int32
	Usesysid        *string
	Usename         *string
	ApplicationName *string
	ClientAddr      *string
	ClientHostname  *string
	ClientPort      *int32
	BackendStart    *time.Time
	XactStart       *time.Time
	QueryStart      *time.Time
	StateChange     *time.Time
	WaitEventType   *string
	WaitEvent       *string
	State           *string
	BackendXid      *string
	BackendXmin     *string
	Query           *string
	BackendType     *string
}

type PgStatAllIndexes

type PgStatAllIndexes struct {
	Relid        *string
	Indexrelid   *string
	Schemaname   *string
	Relname      *string
	Indexrelname *string
	IdxScan      *int64
	IdxTupRead   *int64
	IdxTupFetch  *int64
}

type PgStatAllTables

type PgStatAllTables struct {
	Relid            *string
	Schemaname       *string
	Relname          *string
	SeqScan          *int64
	SeqTupRead       *int64
	IdxScan          *int64
	IdxTupFetch      *int64
	NTupIns          *int64
	NTupUpd          *int64
	NTupDel          *int64
	NTupHotUpd       *int64
	NLiveTup         *int64
	NDeadTup         *int64
	NModSinceAnalyze *int64
	NInsSinceVacuum  *int64
	LastVacuum       *time.Time
	LastAutovacuum   *time.Time
	LastAnalyze      *time.Time
	LastAutoanalyze  *time.Time
	VacuumCount      *int64
	AutovacuumCount  *int64
	AnalyzeCount     *int64
	AutoanalyzeCount *int64
}

type PgStatArchiver

type PgStatArchiver struct {
	ArchivedCount    *int64
	LastArchivedWal  *string
	LastArchivedTime *time.Time
	FailedCount      *int64
	LastFailedWal    *string
	LastFailedTime   *time.Time
	StatsReset       *time.Time
}

type PgStatBgwriter

type PgStatBgwriter struct {
	CheckpointsTimed    *int64
	CheckpointsReq      *int64
	CheckpointWriteTime *float64
	CheckpointSyncTime  *float64
	BuffersCheckpoint   *int64
	BuffersClean        *int64
	MaxwrittenClean     *int64
	BuffersBackend      *int64
	BuffersBackendFsync *int64
	BuffersAlloc        *int64
	StatsReset          *time.Time
}

type PgStatDatabase

type PgStatDatabase struct {
	Datid               *string
	Datname             *string
	Numbackends         *int32
	XactCommit          *int64
	XactRollback        *int64
	BlksRead            *int64
	BlksHit             *int64
	TupReturned         *int64
	TupFetched          *int64
	TupInserted         *int64
	TupUpdated          *int64
	TupDeleted          *int64
	Conflicts           *int64
	TempFiles           *int64
	TempBytes           *int64
	Deadlocks           *int64
	ChecksumFailures    *int64
	ChecksumLastFailure *time.Time
	BlkReadTime         *float64
	BlkWriteTime        *float64
	StatsReset          *time.Time
}

type PgStatDatabaseConflicts

type PgStatDatabaseConflicts struct {
	Datid           *string
	Datname         *string
	ConflTablespace *int64
	ConflLock       *int64
	ConflSnapshot   *int64
	ConflBufferpin  *int64
	ConflDeadlock   *int64
}

type PgStatGssapi

type PgStatGssapi struct {
	Pid              *int32
	GssAuthenticated *bool
	Principal        *string
	Encrypted        *bool
}

type PgStatProgressAnalyze added in v0.6.0

type PgStatProgressAnalyze struct {
	Pid                    *int32
	Datid                  *string
	Datname                *string
	Relid                  *string
	Phase                  *string
	SampleBlksTotal        *int64
	SampleBlksScanned      *int64
	ExtStatsTotal          *int64
	ExtStatsComputed       *int64
	ChildTablesTotal       *int64
	ChildTablesDone        *int64
	CurrentChildTableRelid *string
}

type PgStatProgressBasebackup added in v0.6.0

type PgStatProgressBasebackup struct {
	Pid                 *int32
	Phase               *string
	BackupTotal         *int64
	BackupStreamed      *int64
	TablespacesTotal    *int64
	TablespacesStreamed *int64
}

type PgStatProgressCluster

type PgStatProgressCluster struct {
	Pid               *int32
	Datid             *string
	Datname           *string
	Relid             *string
	Command           *string
	Phase             *string
	ClusterIndexRelid *string
	HeapTuplesScanned *int64
	HeapTuplesWritten *int64
	HeapBlksTotal     *int64
	HeapBlksScanned   *int64
	IndexRebuildCount *int64
}

type PgStatProgressCreateIndex

type PgStatProgressCreateIndex struct {
	Pid              *int32
	Datid            *string
	Datname          *string
	Relid            *string
	IndexRelid       *string
	Command          *string
	Phase            *string
	LockersTotal     *int64
	LockersDone      *int64
	CurrentLockerPid *int64
	BlocksTotal      *int64
	BlocksDone       *int64
	TuplesTotal      *int64
	TuplesDone       *int64
	PartitionsTotal  *int64
	PartitionsDone   *int64
}

type PgStatProgressVacuum

type PgStatProgressVacuum struct {
	Pid              *int32
	Datid            *string
	Datname          *string
	Relid            *string
	Phase            *string
	HeapBlksTotal    *int64
	HeapBlksScanned  *int64
	HeapBlksVacuumed *int64
	IndexVacuumCount *int64
	MaxDeadTuples    *int64
	NumDeadTuples    *int64
}

type PgStatReplication

type PgStatReplication struct {
	Pid             *int32
	Usesysid        *string
	Usename         *string
	ApplicationName *string
	ClientAddr      *string
	ClientHostname  *string
	ClientPort      *int32
	BackendStart    *time.Time
	BackendXmin     *string
	State           *string
	SentLsn         *string
	WriteLsn        *string
	FlushLsn        *string
	ReplayLsn       *string
	WriteLag        *string
	FlushLag        *string
	ReplayLag       *string
	SyncPriority    *int32
	SyncState       *string
	ReplyTime       *time.Time
}

type PgStatSlru added in v0.6.0

type PgStatSlru struct {
	Name        *string
	BlksZeroed  *int64
	BlksHit     *int64
	BlksRead    *int64
	BlksWritten *int64
	BlksExists  *int64
	Flushes     *int64
	Truncates   *int64
	StatsReset  *time.Time
}

type PgStatSsl

type PgStatSsl struct {
	Pid          *int32
	Ssl          *bool
	Version      *string
	Cipher       *string
	Bits         *int32
	Compression  *bool
	ClientDn     *string
	ClientSerial *float64
	IssuerDn     *string
}

type PgStatSubscription

type PgStatSubscription struct {
	Subid              *string
	Subname            *string
	Pid                *int32
	Relid              *string
	ReceivedLsn        *string
	LastMsgSendTime    *time.Time
	LastMsgReceiptTime *time.Time
	LatestEndLsn       *string
	LatestEndTime      *time.Time
}

type PgStatSysIndexes

type PgStatSysIndexes struct {
	Relid        *string
	Indexrelid   *string
	Schemaname   *string
	Relname      *string
	Indexrelname *string
	IdxScan      *int64
	IdxTupRead   *int64
	IdxTupFetch  *int64
}

type PgStatSysTables

type PgStatSysTables struct {
	Relid            *string
	Schemaname       *string
	Relname          *string
	SeqScan          *int64
	SeqTupRead       *int64
	IdxScan          *int64
	IdxTupFetch      *int64
	NTupIns          *int64
	NTupUpd          *int64
	NTupDel          *int64
	NTupHotUpd       *int64
	NLiveTup         *int64
	NDeadTup         *int64
	NModSinceAnalyze *int64
	NInsSinceVacuum  *int64
	LastVacuum       *time.Time
	LastAutovacuum   *time.Time
	LastAnalyze      *time.Time
	LastAutoanalyze  *time.Time
	VacuumCount      *int64
	AutovacuumCount  *int64
	AnalyzeCount     *int64
	AutoanalyzeCount *int64
}

type PgStatUserFunctions

type PgStatUserFunctions struct {
	Funcid     *string
	Schemaname *string
	Funcname   *string
	Calls      *int64
	TotalTime  *float64
	SelfTime   *float64
}

type PgStatUserIndexes

type PgStatUserIndexes struct {
	Relid        *string
	Indexrelid   *string
	Schemaname   *string
	Relname      *string
	Indexrelname *string
	IdxScan      *int64
	IdxTupRead   *int64
	IdxTupFetch  *int64
}

type PgStatUserTables

type PgStatUserTables struct {
	Relid            *string
	Schemaname       *string
	Relname          *string
	SeqScan          *int64
	SeqTupRead       *int64
	IdxScan          *int64
	IdxTupFetch      *int64
	NTupIns          *int64
	NTupUpd          *int64
	NTupDel          *int64
	NTupHotUpd       *int64
	NLiveTup         *int64
	NDeadTup         *int64
	NModSinceAnalyze *int64
	NInsSinceVacuum  *int64
	LastVacuum       *time.Time
	LastAutovacuum   *time.Time
	LastAnalyze      *time.Time
	LastAutoanalyze  *time.Time
	VacuumCount      *int64
	AutovacuumCount  *int64
	AnalyzeCount     *int64
	AutoanalyzeCount *int64
}

type PgStatWalReceiver

type PgStatWalReceiver struct {
	Pid                *int32
	Status             *string
	ReceiveStartLsn    *string
	ReceiveStartTli    *int32
	WrittenLsn         *string
	FlushedLsn         *string
	ReceivedTli        *int32
	LastMsgSendTime    *time.Time
	LastMsgReceiptTime *time.Time
	LatestEndLsn       *string
	LatestEndTime      *time.Time
	SlotName           *string
	SenderHost         *string
	SenderPort         *int32
	Conninfo           *string
}

type PgStatXactAllTables

type PgStatXactAllTables struct {
	Relid       *string
	Schemaname  *string
	Relname     *string
	SeqScan     *int64
	SeqTupRead  *int64
	IdxScan     *int64
	IdxTupFetch *int64
	NTupIns     *int64
	NTupUpd     *int64
	NTupDel     *int64
	NTupHotUpd  *int64
}

type PgStatXactSysTables

type PgStatXactSysTables struct {
	Relid       *string
	Schemaname  *string
	Relname     *string
	SeqScan     *int64
	SeqTupRead  *int64
	IdxScan     *int64
	IdxTupFetch *int64
	NTupIns     *int64
	NTupUpd     *int64
	NTupDel     *int64
	NTupHotUpd  *int64
}

type PgStatXactUserFunctions

type PgStatXactUserFunctions struct {
	Funcid     *string
	Schemaname *string
	Funcname   *string
	Calls      *int64
	TotalTime  *float64
	SelfTime   *float64
}

type PgStatXactUserTables

type PgStatXactUserTables struct {
	Relid       *string
	Schemaname  *string
	Relname     *string
	SeqScan     *int64
	SeqTupRead  *int64
	IdxScan     *int64
	IdxTupFetch *int64
	NTupIns     *int64
	NTupUpd     *int64
	NTupDel     *int64
	NTupHotUpd  *int64
}

type PgStatioAllIndexes

type PgStatioAllIndexes struct {
	Relid        *string
	Indexrelid   *string
	Schemaname   *string
	Relname      *string
	Indexrelname *string
	IdxBlksRead  *int64
	IdxBlksHit   *int64
}

type PgStatioAllSequences

type PgStatioAllSequences struct {
	Relid      *string
	Schemaname *string
	Relname    *string
	BlksRead   *int64
	BlksHit    *int64
}

type PgStatioAllTables

type PgStatioAllTables struct {
	Relid         *string
	Schemaname    *string
	Relname       *string
	HeapBlksRead  *int64
	HeapBlksHit   *int64
	IdxBlksRead   *int64
	IdxBlksHit    *int64
	ToastBlksRead *int64
	ToastBlksHit  *int64
	TidxBlksRead  *int64
	TidxBlksHit   *int64
}

type PgStatioSysIndexes

type PgStatioSysIndexes struct {
	Relid        *string
	Indexrelid   *string
	Schemaname   *string
	Relname      *string
	Indexrelname *string
	IdxBlksRead  *int64
	IdxBlksHit   *int64
}

type PgStatioSysSequences

type PgStatioSysSequences struct {
	Relid      *string
	Schemaname *string
	Relname    *string
	BlksRead   *int64
	BlksHit    *int64
}

type PgStatioSysTables

type PgStatioSysTables struct {
	Relid         *string
	Schemaname    *string
	Relname       *string
	HeapBlksRead  *int64
	HeapBlksHit   *int64
	IdxBlksRead   *int64
	IdxBlksHit    *int64
	ToastBlksRead *int64
	ToastBlksHit  *int64
	TidxBlksRead  *int64
	TidxBlksHit   *int64
}

type PgStatioUserIndexes

type PgStatioUserIndexes struct {
	Relid        *string
	Indexrelid   *string
	Schemaname   *string
	Relname      *string
	Indexrelname *string
	IdxBlksRead  *int64
	IdxBlksHit   *int64
}

type PgStatioUserSequences

type PgStatioUserSequences struct {
	Relid      *string
	Schemaname *string
	Relname    *string
	BlksRead   *int64
	BlksHit    *int64
}

type PgStatioUserTables

type PgStatioUserTables struct {
	Relid         *string
	Schemaname    *string
	Relname       *string
	HeapBlksRead  *int64
	HeapBlksHit   *int64
	IdxBlksRead   *int64
	IdxBlksHit    *int64
	ToastBlksRead *int64
	ToastBlksHit  *int64
	TidxBlksRead  *int64
	TidxBlksHit   *int64
}

type PgStatisticExt

type PgStatisticExt struct {
	Oid           string
	Stxrelid      string
	Stxname       string
	Stxnamespace  string
	Stxowner      string
	Stxstattarget int32
	Stxkeys       string
	Stxkind       string
}

type PgStats

type PgStats struct {
	Schemaname          *string
	Tablename           *string
	Attname             *string
	Inherited           *bool
	NullFrac            *float32
	AvgWidth            *int32
	NDistinct           *float32
	MostCommonVals      *string
	MostCommonFreqs     *string
	HistogramBounds     *string
	Correlation         *float32
	MostCommonElems     *string
	MostCommonElemFreqs *string
	ElemCountHistogram  *string
}

type PgStatsExt

type PgStatsExt struct {
	Schemaname           *string
	Tablename            *string
	StatisticsSchemaname *string
	StatisticsName       *string
	StatisticsOwner      *string
	Attnames             *string
	Kinds                *string
	NDistinct            *string
	Dependencies         *string
	MostCommonVals       *string
	MostCommonValNulls   *string
	MostCommonFreqs      *string
	MostCommonBaseFreqs  *string
}

type PgSubscription

type PgSubscription struct {
	Subdbid         string
	Subname         string
	Subowner        string
	Subenabled      bool
	Subslotname     *string
	Subpublications string
}

type PgSubscriptionRel

type PgSubscriptionRel struct {
	Srsubid    string
	Srrelid    string
	Srsubstate string
	Srsublsn   *string
}

type PgTables

type PgTables struct {
	Schemaname  *string
	Tablename   *string
	Tableowner  *string
	Tablespace  *string
	Hasindexes  *bool
	Hasrules    *bool
	Hastriggers *bool
	Rowsecurity *bool
}

type PgTablespace

type PgTablespace struct {
	Oid        string
	Spcname    string
	Spcowner   string
	Spcacl     *string
	Spcoptions *string
}

type PgTimezoneAbbrevs

type PgTimezoneAbbrevs struct {
	Abbrev    *string
	UtcOffset *string
	IsDst     *bool
}

type PgTimezoneNames

type PgTimezoneNames struct {
	Name      *string
	Abbrev    *string
	UtcOffset *string
	IsDst     *bool
}

type PgTransform

type PgTransform struct {
	Oid        string
	Trftype    string
	Trflang    string
	Trffromsql string
	Trftosql   string
}

type PgTrigger

type PgTrigger struct {
	Oid            string
	Tgrelid        string
	Tgparentid     string
	Tgname         string
	Tgfoid         string
	Tgtype         int16
	Tgenabled      string
	Tgisinternal   bool
	Tgconstrrelid  string
	Tgconstrindid  string
	Tgconstraint   string
	Tgdeferrable   bool
	Tginitdeferred bool
	Tgnargs        int16
	Tgattr         string
	Tgargs         []byte
	Tgqual         *string
	Tgoldtable     *string
	Tgnewtable     *string
}

type PgTsConfig

type PgTsConfig struct {
	Oid          string
	Cfgname      string
	Cfgnamespace string
	Cfgowner     string
	Cfgparser    string
}

type PgTsConfigMap

type PgTsConfigMap struct {
	Mapcfg       string
	Maptokentype int32
	Mapseqno     int32
	Mapdict      string
}

type PgTsDict

type PgTsDict struct {
	Oid            string
	Dictname       string
	Dictnamespace  string
	Dictowner      string
	Dicttemplate   string
	Dictinitoption *string
}

type PgTsParser

type PgTsParser struct {
	Oid          string
	Prsname      string
	Prsnamespace string
	Prsstart     string
	Prstoken     string
	Prsend       string
	Prsheadline  string
	Prslextype   string
}

type PgTsTemplate

type PgTsTemplate struct {
	Oid           string
	Tmplname      string
	Tmplnamespace string
	Tmplinit      string
	Tmpllexize    string
}

type PgType

type PgType struct {
	Oid            string
	Typname        string
	Typnamespace   string
	Typowner       string
	Typlen         int16
	Typbyval       bool
	Typtype        string
	Typcategory    string
	Typispreferred bool
	Typisdefined   bool
	Typdelim       string
	Typrelid       string
	Typelem        string
	Typarray       string
	Typinput       string
	Typoutput      string
	Typreceive     string
	Typsend        string
	Typmodin       string
	Typmodout      string
	Typanalyze     string
	Typalign       string
	Typstorage     string
	Typnotnull     bool
	Typbasetype    string
	Typtypmod      int32
	Typndims       int32
	Typcollation   string
	Typdefaultbin  *string
	Typdefault     *string
	Typacl         *string
}

type PgUser

type PgUser struct {
	Usename      *string
	Usesysid     *string
	Usecreatedb  *bool
	Usesuper     *bool
	Userepl      *bool
	Usebypassrls *bool
	Passwd       *string
	Valuntil     *time.Time
	Useconfig    *string
}

type PgUserMappings

type PgUserMappings struct {
	Umid      *string
	Srvid     *string
	Srvname   *string
	Umuser    *string
	Usename   *string
	Umoptions *string
}

type PgViews

type PgViews struct {
	Schemaname *string
	Viewname   *string
	Viewowner  *string
	Definition *string
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL