Documentation
¶
Index ¶
Constants ¶
View Source
const RetryBackoff = 250 * time.Millisecond
Variables ¶
View Source
var ( ErrNoRows = Errorf("pg: no rows in result set") ErrMultiRows = Errorf("pg: multiple rows in result set") )
View Source
var ( Logger *log.Logger QueryLogger *log.Logger )
Functions ¶
func BytesToString ¶ added in v4.7.5
func StringToBytes ¶ added in v4.7.5
Types ¶
type PGError ¶ added in v4.0.1
type PGError struct {
// contains filtered or unexported fields
}
func NewPGError ¶ added in v4.0.1
func (PGError) IntegrityViolation ¶ added in v4.0.1
Click to show internal directories.
Click to hide internal directories.