type github.com/jackc/pgx/v5/pgconn.NotPreferredError

7 uses

	github.com/jackc/pgx/v5/pgconn (current package)
		config.go#L1073: 		return &NotPreferredError{err: errors.New("server is not in hot standby mode")}
		errors.go#L255: type NotPreferredError struct {
		errors.go#L260: func (e *NotPreferredError) Error() string {
		errors.go#L264: func (e *NotPreferredError) SafeToRetry() bool {
		errors.go#L268: func (e *NotPreferredError) Unwrap() error {
		pgconn.go#L289: 		var npErr *NotPreferredError
		pgconn.go#L517: 					if _, ok := err.(*NotPreferredError); ignoreNotPreferredErr && ok {