package common

import "github.com/vertica/vertica-sql-go/common"

Index

Constants

const (
	ColTypeBoolean       uint32 = 5
	ColTypeInt64         uint32 = 6
	ColTypeFloat64       uint32 = 7
	ColTypeChar          uint32 = 8
	ColTypeVarChar       uint32 = 9
	ColTypeDate          uint32 = 10
	ColTypeTime          uint32 = 11
	ColTypeTimestamp     uint32 = 12
	ColTypeTimestampTZ   uint32 = 13
	ColTypeInterval      uint32 = 14
	ColTypeIntervalYM    uint32 = 114
	ColTypeTimeTZ        uint32 = 15
	ColTypeNumeric       uint32 = 16
	ColTypeVarBinary     uint32 = 17
	ColTypeUUID          uint32 = 20
	ColTypeLongVarChar   uint32 = 115
	ColTypeLongVarBinary uint32 = 116
	ColTypeBinary        uint32 = 117
)
const (
	AuthenticationOK                int32 = 0
	AuthenticationCleartextPassword int32 = 3
	AuthenticationMD5Password       int32 = 5
	AuthenticationOAuth             int32 = 12
	AuthenticationSHA512Password    int32 = 66048
)

Authentication Response/States

Functions

func ColumnTypeString

func ColumnTypeString(typeOID uint32, typeModifier int32) string

func CurrentFile

func CurrentFile() string

func CurrentLine

func CurrentLine() int

func GetReadableFileSizes

func GetReadableFileSizes(fileList []string) ([]uint64, error)

Types

type ParameterType

type ParameterType struct {
	TypeOID      uint32
	TypeName     string
	TypeModifier int32
	Nullable     bool
}

Source Files

fileutils.go osutils.go types.go

Version
v1.3.3 (latest)
Published
Aug 4, 2023
Platform
js/wasm
Imports
3 packages
Last checked
4 hours ago

Tools for package owners.