var (
ErrNotConnected = errors.New("not connected to the database")
ErrReadOnly = errors.New("connected in readonly mode - only readonly transactions allowed")
ErrNotfound = errors.New("record not found or no rows returned")
)
Connect to the Postgres stabase specified by theDSN. Connecting in read-only mode is
is managed by the package, not by the database. Multiple or concurrent calls to
Connect will be ignored even if a different configuration is passed.