Switch lib

This commit is contained in:
binwiederhier
2025-12-30 21:33:22 -05:00
parent c6d9559a6c
commit 4bf4899c08
6 changed files with 20 additions and 11 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import (
"database/sql"
"fmt"
_ "github.com/lib/pq" // PostgreSQL driver
_ "github.com/jackc/pgx/v5/stdlib" // PostgreSQL driver
)
// PostgreSQL-specific queries
@@ -75,7 +75,7 @@ var pgWebPushQueries = &webPushQueries{
}
func newPgWebPushStore(connStr, startupQueries string) (*webPushStore, error) {
db, err := sql.Open("postgres", connStr)
db, err := sql.Open("pgx", connStr)
if err != nil {
return nil, err
}