Versions in this module Expand all Collapse all v1 v1.3.0 Nov 13, 2025 Changes in this version + var ErrorCollectionNotFound = errors.New(types.ErrorCollectionNotFound) + var ErrorEmptyConnStr = errors.New("empty connection string") + var ErrorEmptyRow = errors.New(types.ErrorEmptyRow) + var ErrorEmptyTableName = errors.New(types.ErrorEmptyTableName) + var ErrorIndexAlreadyExist = errors.New(types.ErrorIndexAlreadyExist) + var ErrorIndexComposedTTL = errors.New(types.ErrorIndexComposedTTL) + var ErrorIndexEmpty = errors.New(types.ErrorIndexEmpty) + var ErrorMultipleDBM = errors.New(types.ErrorMultipleDBM) + var ErrorNilContext = errors.New(types.ErrorNilContext) + var ErrorNilObject = errors.New(types.ErrorNilObject) + var ErrorRowOptDiffLength = errors.New(types.ErrorRowOptDiffLenght) + var ErrorSessionClosed = errors.New(types.ErrorSessionClosed) + func NewPostgresDriver(opts *types.ClientOpts) (*driver, error) + type BasicInfo struct + DBName string + DBSizeBytes int64 + DBUser string + MaxConnections string + ServerVersion string + StartTime time.Time + Version string + type BasicStats struct + AnalyzeCount int64 + AutoanalyzeCount int64 + AutovacuumCount int64 + DeadRowCount int64 + EstimatedRowCount float64 + LastAnalyze sql.NullTime + LastAutoanalyze sql.NullTime + LastAutovacuum sql.NullTime + LastVacuum sql.NullTime + ModifiedCount int64 + PageCount float64 + RowCount int64 + SizeBytes int64 + TotalSizeBytes int64 + VacuumCount int64 + type ColumnStats struct + AverageWidth float64 + ColumnName string + Correlation sql.NullString + DataType string + DistinctValues float64 + HistogramBounds sql.NullString + MostCommonFreqs sql.NullString + MostCommonValues sql.NullString + NullFraction float64 + type IndexRow struct + ColumnName string + Comment *string + Direction int + IndexName string + IndexType string + IsUnique bool + type IndexStats struct + IndexName string + IndexSizeBytes int64 + ScanCount int64 + TuplesFetched int64 + TuplesRead int64