Documentation ¶
Overview ¶
Package logicalimport contains the logic needed to import a logical snapshot
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Role ¶
type Role struct { Oid string `json:"oid,omitempty"` Rolname string `json:"rolname,omitempty"` Rolsuper bool `json:"rolsuper,omitempty"` Rolinherit bool `json:"rolinherit,omitempty"` Rolcreaterole bool `json:"rolcreaterole,omitempty"` Rolcreatedb bool `json:"rolcreatedb,omitempty"` Rolcanlogin bool `json:"rolcanlogin,omitempty"` Rolreplication bool `json:"rolreplication,omitempty"` Rolbypassrls bool `json:"rolbypassrls,omitempty"` IsCurrentUser bool `json:"is_current_user,omitempty"` Rolconnlimit int `json:"rolconnlimit,omitempty"` Rolpassword *string `json:"rolpassword,omitempty"` Rolvaliduntil *string `json:"rolvaliduntil,omitempty"` RolComment *string `json:"rolcomment,omitempty"` }
Role a result from pg_authid table
type RoleInheritance ¶
type RoleInheritance struct { RoleID string `json:"roleid,omitempty"` Member string `json:"member,omitempty"` AdminOption bool `json:"admin_option,omitempty"` Grantor *string `json:"grantor,omitempty"` }
RoleInheritance contains the data needed to execute grants, based on pg_authid
Click to show internal directories.
Click to hide internal directories.