summaryrefslogtreecommitdiffstats
path: root/pkg/driver/pgsql.go
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:41:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:41:39 +0000
commitfcfb5e62f95d625836328131cc5ca851182bcae4 (patch)
tree5309ef2284a82d61ece838d1dd1c97c09df152b8 /pkg/driver/pgsql.go
parentAdding upstream version 1.1.1. (diff)
downloadicingadb-6ee3f6d80af8d7d56be5d07c1977df9f7da6f0ec.tar.xz
icingadb-6ee3f6d80af8d7d56be5d07c1977df9f7da6f0ec.zip
Adding upstream version 1.2.0.upstream/1.2.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pkg/driver/pgsql.go')
-rw-r--r--pkg/driver/pgsql.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/pkg/driver/pgsql.go b/pkg/driver/pgsql.go
deleted file mode 100644
index 3c88fe0..0000000
--- a/pkg/driver/pgsql.go
+++ /dev/null
@@ -1,22 +0,0 @@
-package driver
-
-import (
- "database/sql/driver"
- "github.com/lib/pq"
-)
-
-// PgSQLDriver extends pq.Driver with driver.DriverContext compliance.
-type PgSQLDriver struct {
- pq.Driver
-}
-
-// Assert interface compliance.
-var (
- _ driver.Driver = PgSQLDriver{}
- _ driver.DriverContext = PgSQLDriver{}
-)
-
-// OpenConnector implements the driver.DriverContext interface.
-func (PgSQLDriver) OpenConnector(name string) (driver.Connector, error) {
- return pq.NewConnector(name)
-}