postgres

package
v3.80.2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzePermissions

func AnalyzePermissions(cfg *config.Config, connectionStr string)

Types

type DB

type DB struct {
	DatabaseName string
	Owner        string
	DBPrivs
}

type DBPrivs

type DBPrivs struct {
	Connect    bool
	Create     bool
	CreateTemp bool
}

type TableData

type TableData struct {
	Size  string
	Rows  string
	Privs TablePrivs
}

type TablePrivs

type TablePrivs struct {
	Select     bool
	Insert     bool
	Update     bool
	Delete     bool
	Truncate   bool
	References bool
	Trigger    bool
}

Jump to

Keyboard shortcuts

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