pgsyscatalogs

package module
v0.0.0-...-15d6dbb Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

pgsyscatalogs

PostgreSQL system catalogs(WIP)

TODO

  • pg_aggregate
  • pg_am
  • pg_amproc
  • pg_attrdef
  • pg_attribute
  • pg_class
  • pg_constraint
  • pg_conversion
  • pg_enum

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PgAmop

type PgAmop struct {
	OID            pgtype.OID
	Amopfamily     pgtype.OID
	Amoplefttype   pgtype.OID
	Amoprighttype  pgtype.OID
	Amopstrategy   pgtype.Int2
	Amoppurpose    pgtype.QChar
	Amopopr        pgtype.OID
	Amopmethod     pgtype.OID
	Amopsortfamily pgtype.OID
}

https://www.postgresql.org/docs/current/catalog-pg-amop.html

type PgAuthMembers

type PgAuthMembers struct {
	RoleID      pgtype.OID
	Member      pgtype.OID
	Grantor     pgtype.OID
	AdminOption pgtype.Bool
}

https://www.postgresql.org/docs/current/catalog-pg-auth-members.html

type PgAuthid

type PgAuthid struct {
	OID            pgtype.OID
	RolName        pgtype.Bool
	RolSuper       pgtype.Bool
	RolInherit     pgtype.Bool
	RolCreaterole  pgtype.Bool
	RolCreatedb    pgtype.Bool
	RolCanlogin    pgtype.Bool
	RolReplication pgtype.Bool
	RolBypassrls   pgtype.Bool
	RolConnlimit   pgtype.Int4
	RolPassword    pgtype.Text
	RolValiduntil  pgtype.Timestamptz
}

https://www.postgresql.org/docs/current/catalog-pg-authid.html

type PgCast

type PgCast struct {
	OID         pgtype.OID
	CastSource  pgtype.OID
	CastTarget  pgtype.OID
	CastFunc    pgtype.OID
	CastContext pgtype.QChar
	CastMethod  pgtype.QChar
}

https://www.postgresql.org/docs/current/catalog-pg-cast.html

type PgCollation

type PgCollation struct {
	OID                 pgtype.OID
	CollName            pgtype.Name
	CollNamespace       pgtype.OID
	CollOwner           pgtype.OID
	CollProvider        pgtype.QChar
	CollIsdeterministic pgtype.Bool
	CollEncoding        pgtype.Int4
	CollCollate         pgtype.Name
	CollCtype           pgtype.Name
	CollVersion         pgtype.Text
}

https://www.postgresql.org/docs/current/catalog-pg-collation.html

type PgDBRoleSetting

type PgDBRoleSetting struct {
	Setdatabase pgtype.OID
	Setrole     pgtype.OID
	Setconfig   []pgtype.Text
}

https://www.postgresql.org/docs/current/catalog-pg-db-role-setting.html

type PgDatabase

type PgDatabase struct {
	OID           pgtype.OID
	Datname       pgtype.Name
	Datdba        pgtype.OID
	Encoding      pgtype.Int4
	Datcollate    pgtype.Name
	Datctype      pgtype.Name
	Datistemplate pgtype.Bool
	Datallowconn  pgtype.Bool
	Datconnlimit  pgtype.Int4
	Datlastsysoid pgtype.OID
	Datfrozenxid  pgtype.XID
	Datminmxid    pgtype.XID
	Dattablespace pgtype.OID
	Datacl        []pgtype.ACLItem
}

https://www.postgresql.org/docs/current/catalog-pg-database.html

type PgDefaultACL

type PgDefaultACL struct {
	OID        pgtype.OID
	Defaclrole pgtype.OID

	Defaclobjtype pgtype.QChar
	// contains filtered or unexported fields
}

https://www.postgresql.org/docs/current/catalog-pg-default-acl.html

type PgDepend

type PgDepend struct {
	Classid     pgtype.OID
	Objid       pgtype.OID
	Objsubid    pgtype.Int4
	Refclassid  pgtype.OID
	Refobjid    pgtype.OID
	Refobjsubid pgtype.Int4
	Deptype     pgtype.QChar
}

https://www.postgresql.org/docs/current/catalog-pg-depend.html

type PgDescription

type PgDescription struct {
	Objoid      pgtype.OID
	Classoid    pgtype.OID
	Objsubid    pgtype.Int4
	Description pgtype.Text
}

https://www.postgresql.org/docs/current/catalog-pg-description.html

type PgEventTrigger

type PgEventTrigger struct {
	OID        pgtype.OID
	Evtname    pgtype.Name
	Evtevent   pgtype.Name
	Evtowner   pgtype.OID
	Evtdfoid   pgtype.OID
	Evtenabled pgtype.QChar
	Evttags    []pgtype.Text
}

https://www.postgresql.org/docs/current/catalog-pg-event-trigger.html

type PgExtension

type PgExtension struct {
	OID            pgtype.OID
	ExtName        pgtype.Name
	ExtOwner       pgtype.OID
	ExtNamespace   pgtype.OID
	ExtRelocatable pgtype.Bool
	ExtVersion     pgtype.Text
	ExtConfig      []pgtype.OID
	ExtCondition   []pgtype.Text
}

https://www.postgresql.org/docs/current/catalog-pg-extension.html

type PgForeignDataWrapper

type PgForeignDataWrapper struct {
	OID          pgtype.OID
	FDWName      pgtype.Name
	FDWOwner     pgtype.OID
	FDWHandler   pgtype.OID
	FDWValidator pgtype.OID
	FDWACL       pgtype.OID
	FDWOptions   []pgtype.Text
}

https://www.postgresql.org/docs/current/catalog-pg-foreign-data-wrapper.html

type PgForeignServer

type PgForeignServer struct {
	OID        pgtype.OID
	Srvname    pgtype.Name
	Srvowner   pgtype.OID
	Srvfdw     pgtype.OID
	Srvtype    pgtype.Text
	Srvversion pgtype.Text
	Srvacl     []pgtype.ACLItem
	Srvoptions []pgtype.Text
}

https://www.postgresql.org/docs/current/catalog-pg-foreign-server.html

type PgTables

type PgTables struct {
	SchemaName  pgtype.Name
	TableName   pgtype.Name
	TableOwner  pgtype.Name
	TableSpace  pgtype.Name
	HasIndexes  pgtype.Bool
	HasRules    pgtype.Bool
	HasTriggers pgtype.Bool
	RoqSecurity pgtype.Bool
}

https://www.postgresql.org/docs/current/view-pg-tables.html

Jump to

Keyboard shortcuts

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