oracle

package
v0.0.0-...-1489327 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context

func Context(name string) context.Context

func GetDatabaseRole

func GetDatabaseRole(db *sql.DB) (string, error)

func GetDatabaseVersion

func GetDatabaseVersion(db *sql.DB) (int, error)

func GetFlashbackStatus

func GetFlashbackStatus(db *sql.DB) (string, error)

func GetGapCount

func GetGapCount(db *sql.DB) (int, error)

func GetInstanceCount

func GetInstanceCount(db *sql.DB) (int, error)

func GetInstanceStatus

func GetInstanceStatus(db *sql.DB) (string, error)

Get instance status

func GetOpenMode

func GetOpenMode(db *sql.DB) (string, error)

Get open_mode

func GetRestorePointName

func GetRestorePointName(db *sql.DB) ([]string, error)

func GetSingleValue

func GetSingleValue(db *sql.DB, sql string) (string, error)

func GetStandbyRedoLog

func GetStandbyRedoLog(db *sql.DB) (int, error)

func GetSwitchoverStatus

func GetSwitchoverStatus(db *sql.DB) (string, error)

func GetSyncStatus

func GetSyncStatus(db *sql.DB) (int, error)

func Shutdown

func Shutdown(db *sql.DB, shutdownMode godror.ShutdownMode) error

func ShutdownImmediate

func ShutdownImmediate(P godror.ConnectionParams)

func ShutdownMode

func ShutdownMode(P godror.ConnectionParams, shutdownMode godror.ShutdownMode)

ShutdownMode calls Shutdown to shut down a database.

func StartupMount

func StartupMount(P godror.ConnectionParams) error

Startup database mount.

func StartupOpen

func StartupOpen(P godror.ConnectionParams) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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