Documentation ¶
Overview ¶
Package postgresql contains code specific for PostgreSQL database.
Index ¶
- func NewConnectionManager(cfg ConnectionManagerConfig, base rdbms_utils.ConnectionManagerBase, ...) rdbms_utils.ConnectionManager
- func NewSQLFormatter() rdbms_utils.SQLFormatter
- func NewTypeMapper() datasource.TypeMapper
- func TableMetadataQuery(request *api_service_protos.TDescribeTableRequest, schema string) (string, []any)
- type Connection
- type ConnectionManagerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnectionManager ¶
func NewConnectionManager( cfg ConnectionManagerConfig, base rdbms_utils.ConnectionManagerBase, schemaGetter func(*api_common.TDataSourceInstance) string, ) rdbms_utils.ConnectionManager
func NewSQLFormatter ¶
func NewSQLFormatter() rdbms_utils.SQLFormatter
func NewTypeMapper ¶
func NewTypeMapper() datasource.TypeMapper
func TableMetadataQuery ¶ added in v0.4.8
func TableMetadataQuery( request *api_service_protos.TDescribeTableRequest, schema string, ) (string, []any)
Types ¶
type Connection ¶
type Connection struct { *pgx.Conn // contains filtered or unexported fields }
func (Connection) Close ¶
func (c Connection) Close() error
type ConnectionManagerConfig ¶ added in v0.5.5
type ConnectionManagerConfig interface {
GetOpenConnectionTimeout() string
}
Click to show internal directories.
Click to hide internal directories.