pgtypes

package
v0.0.0-...-de94dfd Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package pgtypes contains generated code for schema 'public'.

Package pgtypes are generated pgtypes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(s string, v ...interface{})

Errorf logs an error message using the package error logger.

func Logf

func Logf(s string, v ...interface{})

Logf logs a message using the package logger.

func SetErrorLogger

func SetErrorLogger(logger interface{})

SetErrorLogger sets the package error logger. Valid logger types:

io.Writer
func(string, ...interface{}) (int, error) // fmt.Printf
func(string, ...interface{}) // log.Printf

func SetLogger

func SetLogger(logger interface{})

SetLogger sets the package logger. Valid logger types:

io.Writer
func(string, ...interface{}) (int, error) // fmt.Printf
func(string, ...interface{}) // log.Printf

Types

type Aclitem

type Aclitem struct{}

type AdministrableRoleAuthorizations

type AdministrableRoleAuthorizations struct{}

type Any

type Any struct{}

type Anyarray

type Anyarray struct{}

type Anycompatible

type Anycompatible struct{}

type Anycompatiblearray

type Anycompatiblearray struct{}

type Anycompatiblenonarray

type Anycompatiblenonarray struct{}

type Anycompatiblerange

type Anycompatiblerange struct{}

type Anyelement

type Anyelement struct{}

type Anyenum

type Anyenum struct{}

type Anynonarray

type Anynonarray struct{}

type Anyrange

type Anyrange struct{}

type ApplicableRoles

type ApplicableRoles struct{}

type Attributes

type Attributes struct{}

type Bit

type Bit struct{}

type Bool

type Bool struct{}

type Box

type Box struct{}

type Bpchar

type Bpchar struct{}

type Bytea

type Bytea struct{}

type CardinalNumber

type CardinalNumber struct{}

type Char

type Char struct{}

type CharacterData

type CharacterData struct{}

type CharacterSets

type CharacterSets struct{}

type CheckConstraintRoutineUsage

type CheckConstraintRoutineUsage struct{}

type CheckConstraints

type CheckConstraints struct{}

type Cid

type Cid struct{}

type Cidr

type Cidr struct{}

type Circle

type Circle struct{}

type CollationCharacterSetApplicability

type CollationCharacterSetApplicability struct{}

type Collations

type Collations struct{}

type ColumnColumnUsage

type ColumnColumnUsage struct{}

type ColumnDomainUsage

type ColumnDomainUsage struct{}

type ColumnOptions

type ColumnOptions struct{}

type ColumnPrivileges

type ColumnPrivileges struct{}

type ColumnUdtUsage

type ColumnUdtUsage struct{}

type Columns

type Columns struct{}

type ConstraintColumnUsage

type ConstraintColumnUsage struct{}

type ConstraintTableUsage

type ConstraintTableUsage struct{}

type Cstring

type Cstring struct{}

type DB

type DB interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

DB is the common interface for database operations that can be used with types from schema 'public'.

This works with both database/sql.DB and database/sql.Tx.

type DataTypePrivileges

type DataTypePrivileges struct{}

type Date

type Date struct{}

type Daterange

type Daterange struct{}

type DomainConstraints

type DomainConstraints struct{}

type DomainUdtUsage

type DomainUdtUsage struct{}

type Domains

type Domains struct{}

type ElementTypes

type ElementTypes struct{}

type EnabledRoles

type EnabledRoles struct{}

type ErrDecodeFailed

type ErrDecodeFailed struct {
	Err error
}

ErrDecodeFailed is the decode failed error.

func (*ErrDecodeFailed) Error

func (err *ErrDecodeFailed) Error() string

Error satisfies the error interface.

func (*ErrDecodeFailed) Unwrap

func (err *ErrDecodeFailed) Unwrap() error

Unwrap satisfies the unwrap interface.

type ErrInsertFailed

type ErrInsertFailed struct {
	Err error
}

ErrInsertFailed is the insert failed error.

func (*ErrInsertFailed) Error

func (err *ErrInsertFailed) Error() string

Error satisfies the error interface.

func (*ErrInsertFailed) Unwrap

func (err *ErrInsertFailed) Unwrap() error

Unwrap satisfies the unwrap interface.

type ErrUpdateFailed

type ErrUpdateFailed struct {
	Err error
}

ErrUpdateFailed is the update failed error.

func (*ErrUpdateFailed) Error

func (err *ErrUpdateFailed) Error() string

Error satisfies the error interface.

func (*ErrUpdateFailed) Unwrap

func (err *ErrUpdateFailed) Unwrap() error

Unwrap satisfies the unwrap interface.

type ErrUpsertFailed

type ErrUpsertFailed struct {
	Err error
}

ErrUpsertFailed is the upsert failed error.

func (*ErrUpsertFailed) Error

func (err *ErrUpsertFailed) Error() string

Error satisfies the error interface.

func (*ErrUpsertFailed) Unwrap

func (err *ErrUpsertFailed) Unwrap() error

Unwrap satisfies the unwrap interface.

type Error

type Error string

Error is an error.

const (
	// ErrAlreadyExists is the already exists error.
	ErrAlreadyExists Error = "already exists"
	// ErrDoesNotExist is the does not exist error.
	ErrDoesNotExist Error = "does not exist"
	// ErrMarkedForDeletion is the marked for deletion error.
	ErrMarkedForDeletion Error = "marked for deletion"
)

Error values.

const ErrInvalidStringSlice Error = "invalid StringSlice"

ErrInvalidStringSlice is the invalid StringSlice error.

func (Error) Error

func (err Error) Error() string

Error satisfies the error interface.

type EventTrigger

type EventTrigger struct{}

type FdwHandler

type FdwHandler struct{}

type Float4

type Float4 struct{}

type Float8

type Float8 struct{}

type ForeignDataWrapperOptions

type ForeignDataWrapperOptions struct{}

type ForeignDataWrappers

type ForeignDataWrappers struct{}

type ForeignServerOptions

type ForeignServerOptions struct{}

type ForeignServers

type ForeignServers struct{}

type ForeignTableOptions

type ForeignTableOptions struct{}

type ForeignTables

type ForeignTables struct{}

type Gtsvector

type Gtsvector struct{}

type IndexAmHandler

type IndexAmHandler struct{}

type Inet

type Inet struct{}

type InformationSchemaCatalogName

type InformationSchemaCatalogName struct{}

type Int2

type Int2 struct{}

type Int2vector

type Int2vector struct{}

type Int4

type Int4 struct{}

type Int4range

type Int4range struct{}

type Int8

type Int8 struct{}

type Int8range

type Int8range struct{}

type Internal

type Internal struct{}

type Interval

type Interval struct{}

type JSON

type JSON struct{}

type Jsonb

type Jsonb struct{}

type Jsonpath

type Jsonpath struct{}

type KeyColumnUsage

type KeyColumnUsage struct{}

type LanguageHandler

type LanguageHandler struct{}

type Line

type Line struct{}

type Lseg

type Lseg struct{}

type Macaddr

type Macaddr struct{}

type Macaddr8

type Macaddr8 struct{}

type Money

type Money struct{}

type Name

type Name struct{}

type NullAclitem

type NullAclitem struct{}

type NullAdministrableRoleAuthorizations

type NullAdministrableRoleAuthorizations struct{}

type NullAny

type NullAny struct{}

type NullAnyarray

type NullAnyarray struct{}

type NullAnycompatible

type NullAnycompatible struct{}

type NullAnycompatiblearray

type NullAnycompatiblearray struct{}

type NullAnycompatiblenonarray

type NullAnycompatiblenonarray struct{}

type NullAnycompatiblerange

type NullAnycompatiblerange struct{}

type NullAnyelement

type NullAnyelement struct{}

type NullAnyenum

type NullAnyenum struct{}

type NullAnynonarray

type NullAnynonarray struct{}

type NullAnyrange

type NullAnyrange struct{}

type NullApplicableRoles

type NullApplicableRoles struct{}

type NullAttributes

type NullAttributes struct{}

type NullBit

type NullBit struct{}

type NullBool

type NullBool struct{}

type NullBox

type NullBox struct{}

type NullBpchar

type NullBpchar struct{}

type NullBytea

type NullBytea struct{}

type NullCardinalNumber

type NullCardinalNumber struct{}

type NullChar

type NullChar struct{}

type NullCharacterData

type NullCharacterData struct{}

type NullCharacterSets

type NullCharacterSets struct{}

type NullCheckConstraintRoutineUsage

type NullCheckConstraintRoutineUsage struct{}

type NullCheckConstraints

type NullCheckConstraints struct{}

type NullCid

type NullCid struct{}

type NullCidr

type NullCidr struct{}

type NullCircle

type NullCircle struct{}

type NullCollationCharacterSetApplicability

type NullCollationCharacterSetApplicability struct{}

type NullCollations

type NullCollations struct{}

type NullColumnColumnUsage

type NullColumnColumnUsage struct{}

type NullColumnDomainUsage

type NullColumnDomainUsage struct{}

type NullColumnOptions

type NullColumnOptions struct{}

type NullColumnPrivileges

type NullColumnPrivileges struct{}

type NullColumnUdtUsage

type NullColumnUdtUsage struct{}

type NullColumns

type NullColumns struct{}

type NullConstraintColumnUsage

type NullConstraintColumnUsage struct{}

type NullConstraintTableUsage

type NullConstraintTableUsage struct{}

type NullCstring

type NullCstring struct{}

type NullDataTypePrivileges

type NullDataTypePrivileges struct{}

type NullDate

type NullDate struct{}

type NullDaterange

type NullDaterange struct{}

type NullDomainConstraints

type NullDomainConstraints struct{}

type NullDomainUdtUsage

type NullDomainUdtUsage struct{}

type NullDomains

type NullDomains struct{}

type NullElementTypes

type NullElementTypes struct{}

type NullEnabledRoles

type NullEnabledRoles struct{}

type NullEventTrigger

type NullEventTrigger struct{}

type NullFdwHandler

type NullFdwHandler struct{}

type NullFloat4

type NullFloat4 struct{}

type NullFloat8

type NullFloat8 struct{}

type NullForeignDataWrapperOptions

type NullForeignDataWrapperOptions struct{}

type NullForeignDataWrappers

type NullForeignDataWrappers struct{}

type NullForeignServerOptions

type NullForeignServerOptions struct{}

type NullForeignServers

type NullForeignServers struct{}

type NullForeignTableOptions

type NullForeignTableOptions struct{}

type NullForeignTables

type NullForeignTables struct{}

type NullGtsvector

type NullGtsvector struct{}

type NullIndexAmHandler

type NullIndexAmHandler struct{}

type NullInet

type NullInet struct{}

type NullInformationSchemaCatalogName

type NullInformationSchemaCatalogName struct{}

type NullInt2

type NullInt2 struct{}

type NullInt2vector

type NullInt2vector struct{}

type NullInt4

type NullInt4 struct{}

type NullInt4range

type NullInt4range struct{}

type NullInt8

type NullInt8 struct{}

type NullInt8range

type NullInt8range struct{}

type NullInternal

type NullInternal struct{}

type NullInterval

type NullInterval struct{}

type NullJSON

type NullJSON struct{}

type NullJsonb

type NullJsonb struct{}

type NullJsonpath

type NullJsonpath struct{}

type NullKeyColumnUsage

type NullKeyColumnUsage struct{}

type NullLanguageHandler

type NullLanguageHandler struct{}

type NullLine

type NullLine struct{}

type NullLseg

type NullLseg struct{}

type NullMacaddr

type NullMacaddr struct{}

type NullMacaddr8

type NullMacaddr8 struct{}

type NullMoney

type NullMoney struct{}

type NullName

type NullName struct{}

type NullNumeric

type NullNumeric struct{}

type NullNumrange

type NullNumrange struct{}

type NullOid

type NullOid struct{}

type NullOidvector

type NullOidvector struct{}

type NullParameters

type NullParameters struct{}

type NullPath

type NullPath struct{}

type NullPgAggregate

type NullPgAggregate struct{}

type NullPgAm

type NullPgAm struct{}

type NullPgAmop

type NullPgAmop struct{}

type NullPgAmproc

type NullPgAmproc struct{}

type NullPgAttrdef

type NullPgAttrdef struct{}

type NullPgAttribute

type NullPgAttribute struct{}

type NullPgAuthMembers

type NullPgAuthMembers struct{}

type NullPgAuthid

type NullPgAuthid struct{}

type NullPgAvailableExtensionVersions

type NullPgAvailableExtensionVersions struct{}

type NullPgAvailableExtensions

type NullPgAvailableExtensions struct{}

type NullPgCast

type NullPgCast struct{}

type NullPgClass

type NullPgClass struct{}

type NullPgCollation

type NullPgCollation struct{}

type NullPgConfig

type NullPgConfig struct{}

type NullPgConstraint

type NullPgConstraint struct{}

type NullPgConversion

type NullPgConversion struct{}

type NullPgCursors

type NullPgCursors struct{}

type NullPgDatabase

type NullPgDatabase struct{}

type NullPgDbRoleSetting

type NullPgDbRoleSetting struct{}

type NullPgDdlCommand

type NullPgDdlCommand struct{}

type NullPgDefaultACL

type NullPgDefaultACL struct{}

type NullPgDepend

type NullPgDepend struct{}

type NullPgDependencies

type NullPgDependencies struct{}

type NullPgDescription

type NullPgDescription struct{}

type NullPgEnum

type NullPgEnum struct{}

type NullPgEventTrigger

type NullPgEventTrigger struct{}

type NullPgExtension

type NullPgExtension struct{}

type NullPgFileSettings

type NullPgFileSettings struct{}

type NullPgForeignDataWrapper

type NullPgForeignDataWrapper struct{}

type NullPgForeignServer

type NullPgForeignServer struct{}

type NullPgForeignTable

type NullPgForeignTable struct{}

type NullPgGroup

type NullPgGroup struct{}

type NullPgHbaFileRules

type NullPgHbaFileRules struct{}

type NullPgIndex

type NullPgIndex struct{}

type NullPgIndexes

type NullPgIndexes struct{}

type NullPgInherits

type NullPgInherits struct{}

type NullPgInitPrivs

type NullPgInitPrivs struct{}

type NullPgLanguage

type NullPgLanguage struct{}

type NullPgLargeobject

type NullPgLargeobject struct{}

type NullPgLargeobjectMetadata

type NullPgLargeobjectMetadata struct{}

type NullPgLocks

type NullPgLocks struct{}

type NullPgLsn

type NullPgLsn struct{}

type NullPgMatviews

type NullPgMatviews struct{}

type NullPgMcvList

type NullPgMcvList struct{}

type NullPgNamespace

type NullPgNamespace struct{}

type NullPgNdistinct

type NullPgNdistinct struct{}

type NullPgNodeTree

type NullPgNodeTree struct{}

type NullPgOpclass

type NullPgOpclass struct{}

type NullPgOperator

type NullPgOperator struct{}

type NullPgOpfamily

type NullPgOpfamily struct{}

type NullPgPartitionedTable

type NullPgPartitionedTable struct{}

type NullPgPolicies

type NullPgPolicies struct{}

type NullPgPolicy

type NullPgPolicy struct{}

type NullPgPreparedStatements

type NullPgPreparedStatements struct{}

type NullPgPreparedXacts

type NullPgPreparedXacts struct{}

type NullPgProc

type NullPgProc struct{}

type NullPgPublication

type NullPgPublication struct{}

type NullPgPublicationRel

type NullPgPublicationRel struct{}

type NullPgPublicationTables

type NullPgPublicationTables struct{}

type NullPgRange

type NullPgRange struct{}

type NullPgReplicationOrigin

type NullPgReplicationOrigin struct{}

type NullPgReplicationOriginStatus

type NullPgReplicationOriginStatus struct{}

type NullPgReplicationSlots

type NullPgReplicationSlots struct{}

type NullPgRewrite

type NullPgRewrite struct{}

type NullPgRoles

type NullPgRoles struct{}

type NullPgRules

type NullPgRules struct{}

type NullPgSeclabel

type NullPgSeclabel struct{}

type NullPgSeclabels

type NullPgSeclabels struct{}

type NullPgSequence

type NullPgSequence struct{}

type NullPgSequences

type NullPgSequences struct{}

type NullPgSettings

type NullPgSettings struct{}

type NullPgShadow

type NullPgShadow struct{}

type NullPgShdepend

type NullPgShdepend struct{}

type NullPgShdescription

type NullPgShdescription struct{}

type NullPgShmemAllocations

type NullPgShmemAllocations struct{}

type NullPgShseclabel

type NullPgShseclabel struct{}

type NullPgSnapshot

type NullPgSnapshot struct{}

type NullPgStatActivity

type NullPgStatActivity struct{}

type NullPgStatAllIndexes

type NullPgStatAllIndexes struct{}

type NullPgStatAllTables

type NullPgStatAllTables struct{}

type NullPgStatArchiver

type NullPgStatArchiver struct{}

type NullPgStatBgwriter

type NullPgStatBgwriter struct{}

type NullPgStatDatabase

type NullPgStatDatabase struct{}

type NullPgStatDatabaseConflicts

type NullPgStatDatabaseConflicts struct{}

type NullPgStatGssapi

type NullPgStatGssapi struct{}

type NullPgStatProgressAnalyze

type NullPgStatProgressAnalyze struct{}

type NullPgStatProgressBasebackup

type NullPgStatProgressBasebackup struct{}

type NullPgStatProgressCluster

type NullPgStatProgressCluster struct{}

type NullPgStatProgressCreateIndex

type NullPgStatProgressCreateIndex struct{}

type NullPgStatProgressVacuum

type NullPgStatProgressVacuum struct{}

type NullPgStatReplication

type NullPgStatReplication struct{}

type NullPgStatSlru

type NullPgStatSlru struct{}

type NullPgStatSsl

type NullPgStatSsl struct{}

type NullPgStatSubscription

type NullPgStatSubscription struct{}

type NullPgStatSysIndexes

type NullPgStatSysIndexes struct{}

type NullPgStatSysTables

type NullPgStatSysTables struct{}

type NullPgStatUserFunctions

type NullPgStatUserFunctions struct{}

type NullPgStatUserIndexes

type NullPgStatUserIndexes struct{}

type NullPgStatUserTables

type NullPgStatUserTables struct{}

type NullPgStatWalReceiver

type NullPgStatWalReceiver struct{}

type NullPgStatXactAllTables

type NullPgStatXactAllTables struct{}

type NullPgStatXactSysTables

type NullPgStatXactSysTables struct{}

type NullPgStatXactUserFunctions

type NullPgStatXactUserFunctions struct{}

type NullPgStatXactUserTables

type NullPgStatXactUserTables struct{}

type NullPgStatioAllIndexes

type NullPgStatioAllIndexes struct{}

type NullPgStatioAllSequences

type NullPgStatioAllSequences struct{}

type NullPgStatioAllTables

type NullPgStatioAllTables struct{}

type NullPgStatioSysIndexes

type NullPgStatioSysIndexes struct{}

type NullPgStatioSysSequences

type NullPgStatioSysSequences struct{}

type NullPgStatioSysTables

type NullPgStatioSysTables struct{}

type NullPgStatioUserIndexes

type NullPgStatioUserIndexes struct{}

type NullPgStatioUserSequences

type NullPgStatioUserSequences struct{}

type NullPgStatioUserTables

type NullPgStatioUserTables struct{}

type NullPgStatistic

type NullPgStatistic struct{}

type NullPgStatisticExt

type NullPgStatisticExt struct{}

type NullPgStatisticExtData

type NullPgStatisticExtData struct{}

type NullPgStats

type NullPgStats struct{}

type NullPgStatsExt

type NullPgStatsExt struct{}

type NullPgSubscription

type NullPgSubscription struct{}

type NullPgSubscriptionRel

type NullPgSubscriptionRel struct{}

type NullPgTables

type NullPgTables struct{}

type NullPgTablespace

type NullPgTablespace struct{}

type NullPgTimezoneAbbrevs

type NullPgTimezoneAbbrevs struct{}

type NullPgTimezoneNames

type NullPgTimezoneNames struct{}

type NullPgToast1213

type NullPgToast1213 struct{}

type NullPgToast1247

type NullPgToast1247 struct{}

type NullPgToast1255

type NullPgToast1255 struct{}

type NullPgToast1260

type NullPgToast1260 struct{}

type NullPgToast1262

type NullPgToast1262 struct{}

type NullPgToast13245

type NullPgToast13245 struct{}

type NullPgToast13250

type NullPgToast13250 struct{}

type NullPgToast13255

type NullPgToast13255 struct{}

type NullPgToast13260

type NullPgToast13260 struct{}

type NullPgToast1417

type NullPgToast1417 struct{}

type NullPgToast1418

type NullPgToast1418 struct{}

type NullPgToast2328

type NullPgToast2328 struct{}

type NullPgToast2396

type NullPgToast2396 struct{}

type NullPgToast2600

type NullPgToast2600 struct{}

type NullPgToast2604

type NullPgToast2604 struct{}

type NullPgToast2606

type NullPgToast2606 struct{}

type NullPgToast2609

type NullPgToast2609 struct{}

type NullPgToast2612

type NullPgToast2612 struct{}

type NullPgToast2615

type NullPgToast2615 struct{}

type NullPgToast2618

type NullPgToast2618 struct{}

type NullPgToast2619

type NullPgToast2619 struct{}

type NullPgToast2620

type NullPgToast2620 struct{}

type NullPgToast2964

type NullPgToast2964 struct{}

type NullPgToast3079

type NullPgToast3079 struct{}

type NullPgToast3118

type NullPgToast3118 struct{}

type NullPgToast3256

type NullPgToast3256 struct{}

type NullPgToast3350

type NullPgToast3350 struct{}

type NullPgToast3381

type NullPgToast3381 struct{}

type NullPgToast3394

type NullPgToast3394 struct{}

type NullPgToast3429

type NullPgToast3429 struct{}

type NullPgToast3456

type NullPgToast3456 struct{}

type NullPgToast3466

type NullPgToast3466 struct{}

type NullPgToast3592

type NullPgToast3592 struct{}

type NullPgToast3596

type NullPgToast3596 struct{}

type NullPgToast3600

type NullPgToast3600 struct{}

type NullPgToast6000

type NullPgToast6000 struct{}

type NullPgToast6100

type NullPgToast6100 struct{}

type NullPgToast826

type NullPgToast826 struct{}

type NullPgTransform

type NullPgTransform struct{}

type NullPgTrigger

type NullPgTrigger struct{}

type NullPgTsConfig

type NullPgTsConfig struct{}

type NullPgTsConfigMap

type NullPgTsConfigMap struct{}

type NullPgTsDict

type NullPgTsDict struct{}

type NullPgTsParser

type NullPgTsParser struct{}

type NullPgTsTemplate

type NullPgTsTemplate struct{}

type NullPgUser

type NullPgUser struct{}

type NullPgUserMapping

type NullPgUserMapping struct{}

type NullPgUserMappings

type NullPgUserMappings struct{}

type NullPgViews

type NullPgViews struct{}

type NullPoint

type NullPoint struct{}

type NullPolygon

type NullPolygon struct{}

type NullRecord

type NullRecord struct{}

type NullRefcursor

type NullRefcursor struct{}

type NullReferentialConstraints

type NullReferentialConstraints struct{}

type NullRegclass

type NullRegclass struct{}

type NullRegcollation

type NullRegcollation struct{}

type NullRegconfig

type NullRegconfig struct{}

type NullRegdictionary

type NullRegdictionary struct{}

type NullRegnamespace

type NullRegnamespace struct{}

type NullRegoper

type NullRegoper struct{}

type NullRegoperator

type NullRegoperator struct{}

type NullRegproc

type NullRegproc struct{}

type NullRegprocedure

type NullRegprocedure struct{}

type NullRegrole

type NullRegrole struct{}

type NullRegtype

type NullRegtype struct{}

type NullRoleColumnGrants

type NullRoleColumnGrants struct{}

type NullRoleRoutineGrants

type NullRoleRoutineGrants struct{}

type NullRoleTableGrants

type NullRoleTableGrants struct{}

type NullRoleUdtGrants

type NullRoleUdtGrants struct{}

type NullRoleUsageGrants

type NullRoleUsageGrants struct{}

type NullRoutinePrivileges

type NullRoutinePrivileges struct{}

type NullRoutines

type NullRoutines struct{}

type NullSQLFeatures

type NullSQLFeatures struct{}

type NullSQLIdentifier

type NullSQLIdentifier struct{}

type NullSQLImplementationInfo

type NullSQLImplementationInfo struct{}

type NullSQLParts

type NullSQLParts struct{}

type NullSQLSizing

type NullSQLSizing struct{}

type NullSchemata

type NullSchemata struct{}

type NullSequences

type NullSequences struct{}

type NullTableAmHandler

type NullTableAmHandler struct{}

type NullTableConstraints

type NullTableConstraints struct{}

type NullTablePrivileges

type NullTablePrivileges struct{}

type NullTables

type NullTables struct{}

type NullText

type NullText struct{}

type NullTid

type NullTid struct{}

type NullTime

type NullTime struct{}

type NullTimeStamp

type NullTimeStamp struct{}

type NullTimestamp

type NullTimestamp struct{}

type NullTimestamptz

type NullTimestamptz struct{}

type NullTimetz

type NullTimetz struct{}

type NullTransforms

type NullTransforms struct{}

type NullTrigger

type NullTrigger struct{}

type NullTriggeredUpdateColumns

type NullTriggeredUpdateColumns struct{}

type NullTriggers

type NullTriggers struct{}

type NullTsmHandler

type NullTsmHandler struct{}

type NullTsquery

type NullTsquery struct{}

type NullTsrange

type NullTsrange struct{}

type NullTstzrange

type NullTstzrange struct{}

type NullTsvector

type NullTsvector struct{}

type NullTxidSnapshot

type NullTxidSnapshot struct{}

type NullUUID

type NullUUID struct{}

type NullUdtPrivileges

type NullUdtPrivileges struct{}

type NullUnknown

type NullUnknown struct{}

type NullUsagePrivileges

type NullUsagePrivileges struct{}

type NullUserDefinedTypes

type NullUserDefinedTypes struct{}

type NullUserMappingOptions

type NullUserMappingOptions struct{}

type NullUserMappings

type NullUserMappings struct{}

type NullVarbit

type NullVarbit struct{}

type NullVarchar

type NullVarchar struct{}

type NullViewColumnUsage

type NullViewColumnUsage struct{}

type NullViewRoutineUsage

type NullViewRoutineUsage struct{}

type NullViewTableUsage

type NullViewTableUsage struct{}

type NullViews

type NullViews struct{}

type NullVoid

type NullVoid struct{}

type NullXML

type NullXML struct{}

type NullXid

type NullXid struct{}

type NullXid8

type NullXid8 struct{}

type NullYesOrNo

type NullYesOrNo struct{}

type Numeric

type Numeric struct{}

type Numrange

type Numrange struct{}

type Oid

type Oid struct{}

type Oidvector

type Oidvector struct{}

type Parameters

type Parameters struct{}

type Path

type Path struct{}

type PgAggregate

type PgAggregate struct{}

type PgAm

type PgAm struct{}

type PgAmop

type PgAmop struct{}

type PgAmproc

type PgAmproc struct{}

type PgAttrdef

type PgAttrdef struct{}

type PgAttribute

type PgAttribute struct{}

type PgAuthMembers

type PgAuthMembers struct{}

type PgAuthid

type PgAuthid struct{}

type PgAvailableExtensionVersions

type PgAvailableExtensionVersions struct{}

type PgAvailableExtensions

type PgAvailableExtensions struct{}

type PgCast

type PgCast struct{}

type PgClass

type PgClass struct{}

type PgCollation

type PgCollation struct{}

type PgConfig

type PgConfig struct{}

type PgConstraint

type PgConstraint struct{}

type PgConversion

type PgConversion struct{}

type PgCursors

type PgCursors struct{}

type PgDatabase

type PgDatabase struct{}

type PgDbRoleSetting

type PgDbRoleSetting struct{}

type PgDdlCommand

type PgDdlCommand struct{}

type PgDefaultACL

type PgDefaultACL struct{}

type PgDepend

type PgDepend struct{}

type PgDependencies

type PgDependencies struct{}

type PgDescription

type PgDescription struct{}

type PgEnum

type PgEnum struct{}

type PgEventTrigger

type PgEventTrigger struct{}

type PgExtension

type PgExtension struct{}

type PgFileSettings

type PgFileSettings struct{}

type PgForeignDataWrapper

type PgForeignDataWrapper struct{}

type PgForeignServer

type PgForeignServer struct{}

type PgForeignTable

type PgForeignTable struct{}

type PgGroup

type PgGroup struct{}

type PgHbaFileRules

type PgHbaFileRules struct{}

type PgIndex

type PgIndex struct{}

type PgIndexes

type PgIndexes struct{}

type PgInherits

type PgInherits struct{}

type PgInitPrivs

type PgInitPrivs struct{}

type PgLanguage

type PgLanguage struct{}

type PgLargeobject

type PgLargeobject struct{}

type PgLargeobjectMetadata

type PgLargeobjectMetadata struct{}

type PgLocks

type PgLocks struct{}

type PgLsn

type PgLsn struct{}

type PgMatviews

type PgMatviews struct{}

type PgMcvList

type PgMcvList struct{}

type PgNamespace

type PgNamespace struct{}

type PgNdistinct

type PgNdistinct struct{}

type PgNodeTree

type PgNodeTree struct{}

type PgOpclass

type PgOpclass struct{}

type PgOperator

type PgOperator struct{}

type PgOpfamily

type PgOpfamily struct{}

type PgPartitionedTable

type PgPartitionedTable struct{}

type PgPolicies

type PgPolicies struct{}

type PgPolicy

type PgPolicy struct{}

type PgPreparedStatements

type PgPreparedStatements struct{}

type PgPreparedXacts

type PgPreparedXacts struct{}

type PgProc

type PgProc struct{}

type PgPublication

type PgPublication struct{}

type PgPublicationRel

type PgPublicationRel struct{}

type PgPublicationTables

type PgPublicationTables struct{}

type PgRange

type PgRange struct{}

type PgReplicationOrigin

type PgReplicationOrigin struct{}

type PgReplicationOriginStatus

type PgReplicationOriginStatus struct{}

type PgReplicationSlots

type PgReplicationSlots struct{}

type PgRewrite

type PgRewrite struct{}

type PgRoles

type PgRoles struct{}

type PgRules

type PgRules struct{}

type PgSeclabel

type PgSeclabel struct{}

type PgSeclabels

type PgSeclabels struct{}

type PgSequence

type PgSequence struct{}

type PgSequences

type PgSequences struct{}

type PgSettings

type PgSettings struct{}

type PgShadow

type PgShadow struct{}

type PgShdepend

type PgShdepend struct{}

type PgShdescription

type PgShdescription struct{}

type PgShmemAllocations

type PgShmemAllocations struct{}

type PgShseclabel

type PgShseclabel struct{}

type PgSnapshot

type PgSnapshot struct{}

type PgStatActivity

type PgStatActivity struct{}

type PgStatAllIndexes

type PgStatAllIndexes struct{}

type PgStatAllTables

type PgStatAllTables struct{}

type PgStatArchiver

type PgStatArchiver struct{}

type PgStatBgwriter

type PgStatBgwriter struct{}

type PgStatDatabase

type PgStatDatabase struct{}

type PgStatDatabaseConflicts

type PgStatDatabaseConflicts struct{}

type PgStatGssapi

type PgStatGssapi struct{}

type PgStatProgressAnalyze

type PgStatProgressAnalyze struct{}

type PgStatProgressBasebackup

type PgStatProgressBasebackup struct{}

type PgStatProgressCluster

type PgStatProgressCluster struct{}

type PgStatProgressCreateIndex

type PgStatProgressCreateIndex struct{}

type PgStatProgressVacuum

type PgStatProgressVacuum struct{}

type PgStatReplication

type PgStatReplication struct{}

type PgStatSlru

type PgStatSlru struct{}

type PgStatSsl

type PgStatSsl struct{}

type PgStatSubscription

type PgStatSubscription struct{}

type PgStatSysIndexes

type PgStatSysIndexes struct{}

type PgStatSysTables

type PgStatSysTables struct{}

type PgStatUserFunctions

type PgStatUserFunctions struct{}

type PgStatUserIndexes

type PgStatUserIndexes struct{}

type PgStatUserTables

type PgStatUserTables struct{}

type PgStatWalReceiver

type PgStatWalReceiver struct{}

type PgStatXactAllTables

type PgStatXactAllTables struct{}

type PgStatXactSysTables

type PgStatXactSysTables struct{}

type PgStatXactUserFunctions

type PgStatXactUserFunctions struct{}

type PgStatXactUserTables

type PgStatXactUserTables struct{}

type PgStatioAllIndexes

type PgStatioAllIndexes struct{}

type PgStatioAllSequences

type PgStatioAllSequences struct{}

type PgStatioAllTables

type PgStatioAllTables struct{}

type PgStatioSysIndexes

type PgStatioSysIndexes struct{}

type PgStatioSysSequences

type PgStatioSysSequences struct{}

type PgStatioSysTables

type PgStatioSysTables struct{}

type PgStatioUserIndexes

type PgStatioUserIndexes struct{}

type PgStatioUserSequences

type PgStatioUserSequences struct{}

type PgStatioUserTables

type PgStatioUserTables struct{}

type PgStatistic

type PgStatistic struct{}

type PgStatisticExt

type PgStatisticExt struct{}

type PgStatisticExtData

type PgStatisticExtData struct{}

type PgStats

type PgStats struct{}

type PgStatsExt

type PgStatsExt struct{}

type PgSubscription

type PgSubscription struct{}

type PgSubscriptionRel

type PgSubscriptionRel struct{}

type PgTables

type PgTables struct{}

type PgTablespace

type PgTablespace struct{}

type PgTimezoneAbbrevs

type PgTimezoneAbbrevs struct{}

type PgTimezoneNames

type PgTimezoneNames struct{}

type PgToast1213

type PgToast1213 struct{}

type PgToast1247

type PgToast1247 struct{}

type PgToast1255

type PgToast1255 struct{}

type PgToast1260

type PgToast1260 struct{}

type PgToast1262

type PgToast1262 struct{}

type PgToast13245

type PgToast13245 struct{}

type PgToast13250

type PgToast13250 struct{}

type PgToast13255

type PgToast13255 struct{}

type PgToast13260

type PgToast13260 struct{}

type PgToast1417

type PgToast1417 struct{}

type PgToast1418

type PgToast1418 struct{}

type PgToast2328

type PgToast2328 struct{}

type PgToast2396

type PgToast2396 struct{}

type PgToast2600

type PgToast2600 struct{}

type PgToast2604

type PgToast2604 struct{}

type PgToast2606

type PgToast2606 struct{}

type PgToast2609

type PgToast2609 struct{}

type PgToast2612

type PgToast2612 struct{}

type PgToast2615

type PgToast2615 struct{}

type PgToast2618

type PgToast2618 struct{}

type PgToast2619

type PgToast2619 struct{}

type PgToast2620

type PgToast2620 struct{}

type PgToast2964

type PgToast2964 struct{}

type PgToast3079

type PgToast3079 struct{}

type PgToast3118

type PgToast3118 struct{}

type PgToast3256

type PgToast3256 struct{}

type PgToast3350

type PgToast3350 struct{}

type PgToast3381

type PgToast3381 struct{}

type PgToast3394

type PgToast3394 struct{}

type PgToast3429

type PgToast3429 struct{}

type PgToast3456

type PgToast3456 struct{}

type PgToast3466

type PgToast3466 struct{}

type PgToast3592

type PgToast3592 struct{}

type PgToast3596

type PgToast3596 struct{}

type PgToast3600

type PgToast3600 struct{}

type PgToast6000

type PgToast6000 struct{}

type PgToast6100

type PgToast6100 struct{}

type PgToast826

type PgToast826 struct{}

type PgTransform

type PgTransform struct{}

type PgTrigger

type PgTrigger struct{}

type PgTsConfig

type PgTsConfig struct{}

type PgTsConfigMap

type PgTsConfigMap struct{}

type PgTsDict

type PgTsDict struct{}

type PgTsParser

type PgTsParser struct{}

type PgTsTemplate

type PgTsTemplate struct{}

type PgType

type PgType struct {
	Name string `json:"name"` // name
}

PgType represents a row from 'public.pg_type'.

func GetPgTypes

func GetPgTypes(ctx context.Context, db DB) ([]*PgType, error)

GetPgTypes runs a custom query, returning results as PgType.

type PgUser

type PgUser struct{}

type PgUserMapping

type PgUserMapping struct{}

type PgUserMappings

type PgUserMappings struct{}

type PgViews

type PgViews struct{}

type Point

type Point struct{}

type Polygon

type Polygon struct{}

type Record

type Record struct{}

type Refcursor

type Refcursor struct{}

type ReferentialConstraints

type ReferentialConstraints struct{}

type Regclass

type Regclass struct{}

type Regcollation

type Regcollation struct{}

type Regconfig

type Regconfig struct{}

type Regdictionary

type Regdictionary struct{}

type Regnamespace

type Regnamespace struct{}

type Regoper

type Regoper struct{}

type Regoperator

type Regoperator struct{}

type Regproc

type Regproc struct{}

type Regprocedure

type Regprocedure struct{}

type Regrole

type Regrole struct{}

type Regtype

type Regtype struct{}

type RoleColumnGrants

type RoleColumnGrants struct{}

type RoleRoutineGrants

type RoleRoutineGrants struct{}

type RoleTableGrants

type RoleTableGrants struct{}

type RoleUdtGrants

type RoleUdtGrants struct{}

type RoleUsageGrants

type RoleUsageGrants struct{}

type RoutinePrivileges

type RoutinePrivileges struct{}

type Routines

type Routines struct{}

type SQLFeatures

type SQLFeatures struct{}

type SQLIdentifier

type SQLIdentifier struct{}

type SQLImplementationInfo

type SQLImplementationInfo struct{}

type SQLParts

type SQLParts struct{}

type SQLSizing

type SQLSizing struct{}

type Schemata

type Schemata struct{}

type Sequences

type Sequences struct{}

type StringSlice

type StringSlice []string

StringSlice is a slice of strings.

func (*StringSlice) Scan

func (ss *StringSlice) Scan(v interface{}) error

Scan satisfies the sql.Scanner interface for StringSlice.

func (StringSlice) Value

func (ss StringSlice) Value() (driver.Value, error)

Value satisfies the sql/driver.Valuer interface.

type TableAmHandler

type TableAmHandler struct{}

type TableConstraints

type TableConstraints struct{}

type TablePrivileges

type TablePrivileges struct{}

type Tables

type Tables struct{}

type Text

type Text struct{}

type Tid

type Tid struct{}

type Time

type Time struct{}

type TimeStamp

type TimeStamp struct{}

type Timestamp

type Timestamp struct{}

type Timestamptz

type Timestamptz struct{}

type Timetz

type Timetz struct{}

type Transforms

type Transforms struct{}

type Trigger

type Trigger struct{}

type TriggeredUpdateColumns

type TriggeredUpdateColumns struct{}

type Triggers

type Triggers struct{}

type TsmHandler

type TsmHandler struct{}

type Tsquery

type Tsquery struct{}

type Tsrange

type Tsrange struct{}

type Tstzrange

type Tstzrange struct{}

type Tsvector

type Tsvector struct{}

type TxidSnapshot

type TxidSnapshot struct{}

type UUID

type UUID struct{}

type UdtPrivileges

type UdtPrivileges struct{}

type Unknown

type Unknown struct{}

type UsagePrivileges

type UsagePrivileges struct{}

type UserDefinedTypes

type UserDefinedTypes struct{}

type UserMappingOptions

type UserMappingOptions struct{}

type UserMappings

type UserMappings struct{}

type Varbit

type Varbit struct{}

type Varchar

type Varchar struct{}

type ViewColumnUsage

type ViewColumnUsage struct{}

type ViewRoutineUsage

type ViewRoutineUsage struct{}

type ViewTableUsage

type ViewTableUsage struct{}

type Views

type Views struct{}

type Void

type Void struct{}

type XML

type XML struct{}

type Xid

type Xid struct{}

type Xid8

type Xid8 struct{}

type YesOrNo

type YesOrNo struct{}

Jump to

Keyboard shortcuts

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