repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/authentication_sasl_final.go | vendor/github.com/jackc/pgproto3/v2/authentication_sasl_final.go | package pgproto3
import (
"encoding/binary"
"encoding/json"
"errors"
"github.com/jackc/pgio"
)
// AuthenticationSASLFinal is a message sent from the backend indicating a SASL authentication has completed.
type AuthenticationSASLFinal struct {
Data []byte
}
// Backend identifies this message as sendable by the ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/query.go | vendor/github.com/jackc/pgproto3/v2/query.go | package pgproto3
import (
"bytes"
"encoding/json"
)
type Query struct {
String string
}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*Query) Frontend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
// t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/gss_response.go | vendor/github.com/jackc/pgproto3/v2/gss_response.go | package pgproto3
import (
"encoding/json"
)
type GSSResponse struct {
Data []byte
}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (g *GSSResponse) Frontend() {}
func (g *GSSResponse) Decode(data []byte) error {
g.Data = data
return nil
}
func (g *GSSResponse) Encode(dst []byte)... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/backend.go | vendor/github.com/jackc/pgproto3/v2/backend.go | package pgproto3
import (
"encoding/binary"
"errors"
"fmt"
"io"
)
// Backend acts as a server for the PostgreSQL wire protocol version 3.
type Backend struct {
cr ChunkReader
w io.Writer
// Frontend message flyweights
bind Bind
cancelRequest CancelRequest
_close Close
copyFail Co... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/data_row.go | vendor/github.com/jackc/pgproto3/v2/data_row.go | package pgproto3
import (
"encoding/binary"
"encoding/hex"
"encoding/json"
"errors"
"math"
"github.com/jackc/pgio"
)
type DataRow struct {
Values [][]byte
}
// Backend identifies this message as sendable by the PostgreSQL backend.
func (*DataRow) Backend() {}
// Decode decodes src into dst. src must contain... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/no_data.go | vendor/github.com/jackc/pgproto3/v2/no_data.go | package pgproto3
import (
"encoding/json"
)
type NoData struct{}
// Backend identifies this message as sendable by the PostgreSQL backend.
func (*NoData) Backend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
// type identifier and 4 byte... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/error_response.go | vendor/github.com/jackc/pgproto3/v2/error_response.go | package pgproto3
import (
"bytes"
"encoding/json"
"strconv"
)
type ErrorResponse struct {
Severity string
SeverityUnlocalized string // only in 9.6 and greater
Code string
Message string
Detail string
Hint string
Position int32
In... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/flush.go | vendor/github.com/jackc/pgproto3/v2/flush.go | package pgproto3
import (
"encoding/json"
)
type Flush struct{}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*Flush) Frontend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
// type identifier and 4 byte ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/authentication_gss_continue.go | vendor/github.com/jackc/pgproto3/v2/authentication_gss_continue.go | package pgproto3
import (
"encoding/binary"
"encoding/json"
"errors"
"github.com/jackc/pgio"
)
type AuthenticationGSSContinue struct {
Data []byte
}
func (a *AuthenticationGSSContinue) Backend() {}
func (a *AuthenticationGSSContinue) AuthenticationResponse() {}
func (a *AuthenticationGSSContinue) Decode(src ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/doc.go | vendor/github.com/jackc/pgproto3/v2/doc.go | // Package pgproto3 is a encoder and decoder of the PostgreSQL wire protocol version 3.
//
// See https://www.postgresql.org/docs/current/protocol-message-formats.html for meanings of the different messages.
package pgproto3
| go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/empty_query_response.go | vendor/github.com/jackc/pgproto3/v2/empty_query_response.go | package pgproto3
import (
"encoding/json"
)
type EmptyQueryResponse struct{}
// Backend identifies this message as sendable by the PostgreSQL backend.
func (*EmptyQueryResponse) Backend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
// ty... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/sasl_response.go | vendor/github.com/jackc/pgproto3/v2/sasl_response.go | package pgproto3
import (
"encoding/json"
)
type SASLResponse struct {
Data []byte
}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*SASLResponse) Frontend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
/... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/pgproto3.go | vendor/github.com/jackc/pgproto3/v2/pgproto3.go | package pgproto3
import (
"encoding/hex"
"errors"
"fmt"
"github.com/jackc/pgio"
)
// maxMessageBodyLen is the maximum length of a message body in bytes. See PG_LARGE_MESSAGE_LIMIT in the PostgreSQL
// source. It is defined as (MaxAllocSize - 1). MaxAllocSize is defined as 0x3fffffff.
const maxMessageBodyLen = (0... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/parse.go | vendor/github.com/jackc/pgproto3/v2/parse.go | package pgproto3
import (
"bytes"
"encoding/binary"
"encoding/json"
"errors"
"math"
"github.com/jackc/pgio"
)
type Parse struct {
Name string
Query string
ParameterOIDs []uint32
}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*Parse) Frontend() {}
// Deco... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/copy_data.go | vendor/github.com/jackc/pgproto3/v2/copy_data.go | package pgproto3
import (
"encoding/hex"
"encoding/json"
)
type CopyData struct {
Data []byte
}
// Backend identifies this message as sendable by the PostgreSQL backend.
func (*CopyData) Backend() {}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*CopyData) Frontend() {}
// Deco... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/close.go | vendor/github.com/jackc/pgproto3/v2/close.go | package pgproto3
import (
"bytes"
"encoding/json"
"errors"
)
type Close struct {
ObjectType byte // 'S' = prepared statement, 'P' = portal
Name string
}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*Close) Frontend() {}
// Decode decodes src into dst. src must contain t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/close_complete.go | vendor/github.com/jackc/pgproto3/v2/close_complete.go | package pgproto3
import (
"encoding/json"
)
type CloseComplete struct{}
// Backend identifies this message as sendable by the PostgreSQL backend.
func (*CloseComplete) Backend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
// type identif... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/copy_both_response.go | vendor/github.com/jackc/pgproto3/v2/copy_both_response.go | package pgproto3
import (
"bytes"
"encoding/binary"
"encoding/json"
"errors"
"math"
"github.com/jackc/pgio"
)
type CopyBothResponse struct {
OverallFormat byte
ColumnFormatCodes []uint16
}
// Backend identifies this message as sendable by the PostgreSQL backend.
func (*CopyBothResponse) Backend() {}
//... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/terminate.go | vendor/github.com/jackc/pgproto3/v2/terminate.go | package pgproto3
import (
"encoding/json"
)
type Terminate struct{}
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*Terminate) Frontend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
// type identifier and... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgproto3/v2/notice_response.go | vendor/github.com/jackc/pgproto3/v2/notice_response.go | package pgproto3
type NoticeResponse ErrorResponse
// Backend identifies this message as sendable by the PostgreSQL backend.
func (*NoticeResponse) Backend() {}
// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
// type identifier and 4 byte message... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgpassfile/pgpass.go | vendor/github.com/jackc/pgpassfile/pgpass.go | // Package pgpassfile is a parser PostgreSQL .pgpass files.
package pgpassfile
import (
"bufio"
"io"
"os"
"regexp"
"strings"
)
// Entry represents a line in a PG passfile.
type Entry struct {
Hostname string
Port string
Database string
Username string
Password string
}
// Passfile is the in memory data... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgservicefile/pgservicefile.go | vendor/github.com/jackc/pgservicefile/pgservicefile.go | // Package pgservicefile is a parser for PostgreSQL service files (e.g. .pg_service.conf).
package pgservicefile
import (
"bufio"
"errors"
"fmt"
"io"
"os"
"strings"
)
type Service struct {
Name string
Settings map[string]string
}
type Servicefile struct {
Services []*Service
servicesByName map[st... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/tx.go | vendor/github.com/jackc/pgx/v4/tx.go | package pgx
import (
"bytes"
"context"
"errors"
"fmt"
"strconv"
"github.com/jackc/pgconn"
)
// TxIsoLevel is the transaction isolation level (serializable, repeatable read, read committed or read uncommitted)
type TxIsoLevel string
// Transaction isolation levels
const (
Serializable TxIsoLevel = "seriali... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/extended_query_builder.go | vendor/github.com/jackc/pgx/v4/extended_query_builder.go | package pgx
import (
"database/sql/driver"
"fmt"
"reflect"
"github.com/jackc/pgtype"
)
type extendedQueryBuilder struct {
paramValues [][]byte
paramValueBytes []byte
paramFormats []int16
resultFormats []int16
}
func (eqb *extendedQueryBuilder) AppendParam(ci *pgtype.ConnInfo, oid uint32, arg interf... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/go_stdlib.go | vendor/github.com/jackc/pgx/v4/go_stdlib.go | package pgx
import (
"database/sql/driver"
"reflect"
)
// This file contains code copied from the Go standard library due to the
// required function not being public.
// Copyright (c) 2009 The Go Authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/values.go | vendor/github.com/jackc/pgx/v4/values.go | package pgx
import (
"database/sql/driver"
"fmt"
"math"
"reflect"
"time"
"github.com/jackc/pgio"
"github.com/jackc/pgtype"
)
// PostgreSQL format codes
const (
TextFormatCode = 0
BinaryFormatCode = 1
)
// SerializationError occurs on failure to encode or decode a value
type SerializationError string
fun... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/conn.go | vendor/github.com/jackc/pgx/v4/conn.go | package pgx
import (
"context"
"errors"
"fmt"
"strconv"
"strings"
"time"
"github.com/jackc/pgconn"
"github.com/jackc/pgconn/stmtcache"
"github.com/jackc/pgproto3/v2"
"github.com/jackc/pgtype"
"github.com/jackc/pgx/v4/internal/sanitize"
)
// ConnConfig contains all the options used to establish a connectio... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/messages.go | vendor/github.com/jackc/pgx/v4/messages.go | package pgx
import (
"database/sql/driver"
"github.com/jackc/pgtype"
)
func convertDriverValuers(args []interface{}) ([]interface{}, error) {
for i, arg := range args {
switch arg := arg.(type) {
case pgtype.BinaryEncoder:
case pgtype.TextEncoder:
case driver.Valuer:
v, err := callValuerValue(arg)
i... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/large_objects.go | vendor/github.com/jackc/pgx/v4/large_objects.go | package pgx
import (
"context"
"errors"
"io"
)
// LargeObjects is a structure used to access the large objects API. It is only valid within the transaction where it
// was created.
//
// For more details see: http://www.postgresql.org/docs/current/static/largeobjects.html
type LargeObjects struct {
tx Tx
}
type ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/rows.go | vendor/github.com/jackc/pgx/v4/rows.go | package pgx
import (
"context"
"errors"
"fmt"
"time"
"github.com/jackc/pgconn"
"github.com/jackc/pgproto3/v2"
"github.com/jackc/pgtype"
)
// Rows is the result set returned from *Conn.Query. Rows must be closed before
// the *Conn can be used again. Rows are closed by explicitly calling Close(),
// calling Ne... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/doc.go | vendor/github.com/jackc/pgx/v4/doc.go | // Package pgx is a PostgreSQL database driver.
/*
pgx provides lower level access to PostgreSQL than the standard database/sql. It remains as similar to the database/sql
interface as possible while providing better speed and access to PostgreSQL specific features. Import
github.com/jackc/pgx/v4/stdlib to use pgx as a ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/logger.go | vendor/github.com/jackc/pgx/v4/logger.go | package pgx
import (
"context"
"encoding/hex"
"errors"
"fmt"
)
// The values for log levels are chosen such that the zero value means that no
// log level was specified.
const (
LogLevelTrace = 6
LogLevelDebug = 5
LogLevelInfo = 4
LogLevelWarn = 3
LogLevelError = 2
LogLevelNone = 1
)
// LogLevel represe... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/batch.go | vendor/github.com/jackc/pgx/v4/batch.go | package pgx
import (
"context"
"errors"
"fmt"
"github.com/jackc/pgconn"
)
type batchItem struct {
query string
arguments []interface{}
}
// Batch queries are a way of bundling multiple queries together to avoid
// unnecessary network round trips.
type Batch struct {
items []*batchItem
}
// Queue queues ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/copy_from.go | vendor/github.com/jackc/pgx/v4/copy_from.go | package pgx
import (
"bytes"
"context"
"fmt"
"io"
"time"
"github.com/jackc/pgconn"
"github.com/jackc/pgio"
)
// CopyFromRows returns a CopyFromSource interface over the provided rows slice
// making it usable by *Conn.CopyFrom.
func CopyFromRows(rows [][]interface{}) CopyFromSource {
return ©FromRows{row... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgx/v4/internal/sanitize/sanitize.go | vendor/github.com/jackc/pgx/v4/internal/sanitize/sanitize.go | package sanitize
import (
"bytes"
"encoding/hex"
"fmt"
"strconv"
"strings"
"time"
"unicode/utf8"
)
// Part is either a string or an int. A string is raw SQL. An int is a
// argument placeholder.
type Part interface{}
type Query struct {
Parts []Part
}
// utf.DecodeRune returns the utf8.RuneError for errors.... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgio/write.go | vendor/github.com/jackc/pgio/write.go | package pgio
import "encoding/binary"
func AppendUint16(buf []byte, n uint16) []byte {
wp := len(buf)
buf = append(buf, 0, 0)
binary.BigEndian.PutUint16(buf[wp:], n)
return buf
}
func AppendUint32(buf []byte, n uint32) []byte {
wp := len(buf)
buf = append(buf, 0, 0, 0, 0)
binary.BigEndian.PutUint32(buf[wp:], ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgio/doc.go | vendor/github.com/jackc/pgio/doc.go | // Package pgio is a low-level toolkit building messages in the PostgreSQL wire protocol.
/*
pgio provides functions for appending integers to a []byte while doing byte
order conversion.
*/
package pgio
| go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/chunkreader/v2/chunkreader.go | vendor/github.com/jackc/chunkreader/v2/chunkreader.go | // Package chunkreader provides an io.Reader wrapper that minimizes IO reads and memory allocations.
package chunkreader
import (
"io"
)
// ChunkReader is a io.Reader wrapper that minimizes IO reads and memory allocations. It allocates memory in chunks and
// will read as much as will fit in the current buffer in a ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/krb5.go | vendor/github.com/jackc/pgconn/krb5.go | package pgconn
import (
"errors"
"fmt"
"github.com/jackc/pgproto3/v2"
)
// NewGSSFunc creates a GSS authentication provider, for use with
// RegisterGSSProvider.
type NewGSSFunc func() (GSS, error)
var newGSS NewGSSFunc
// RegisterGSSProvider registers a GSS authentication provider. For example, if
// you need ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/errors.go | vendor/github.com/jackc/pgconn/errors.go | package pgconn
import (
"context"
"errors"
"fmt"
"net"
"net/url"
"regexp"
"strings"
)
// SafeToRetry checks if the err is guaranteed to have occurred before sending any data to the server.
func SafeToRetry(err error) bool {
if e, ok := err.(interface{ SafeToRetry() bool }); ok {
return e.SafeToRetry()
}
r... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/config.go | vendor/github.com/jackc/pgconn/config.go | package pgconn
import (
"context"
"crypto/tls"
"crypto/x509"
"encoding/pem"
"errors"
"fmt"
"io"
"io/ioutil"
"math"
"net"
"net/url"
"os"
"path/filepath"
"strconv"
"strings"
"time"
"github.com/jackc/chunkreader/v2"
"github.com/jackc/pgpassfile"
"github.com/jackc/pgproto3/v2"
"github.com/jackc/pgserv... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/defaults.go | vendor/github.com/jackc/pgconn/defaults.go | //go:build !windows
// +build !windows
package pgconn
import (
"os"
"os/user"
"path/filepath"
)
func defaultSettings() map[string]string {
settings := make(map[string]string)
settings["host"] = defaultHost()
settings["port"] = "5432"
// Default to the OS user name. Purposely ignoring err getting user name f... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/defaults_windows.go | vendor/github.com/jackc/pgconn/defaults_windows.go | package pgconn
import (
"os"
"os/user"
"path/filepath"
"strings"
)
func defaultSettings() map[string]string {
settings := make(map[string]string)
settings["host"] = defaultHost()
settings["port"] = "5432"
// Default to the OS user name. Purposely ignoring err getting user name from
// OS. The client applic... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/pgconn.go | vendor/github.com/jackc/pgconn/pgconn.go | package pgconn
import (
"context"
"crypto/md5"
"crypto/tls"
"encoding/binary"
"encoding/hex"
"errors"
"fmt"
"io"
"math"
"net"
"strconv"
"strings"
"sync"
"time"
"github.com/jackc/pgconn/internal/ctxwatch"
"github.com/jackc/pgio"
"github.com/jackc/pgproto3/v2"
)
const (
connStatusUninitialized = iota... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | true |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/doc.go | vendor/github.com/jackc/pgconn/doc.go | // Package pgconn is a low-level PostgreSQL database driver.
/*
pgconn provides lower level access to a PostgreSQL connection than a database/sql or pgx connection. It operates at
nearly the same level is the C library libpq.
Establishing a Connection
Use Connect to establish a connection. It accepts a connection str... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/auth_scram.go | vendor/github.com/jackc/pgconn/auth_scram.go | // SCRAM-SHA-256 authentication
//
// Resources:
// https://tools.ietf.org/html/rfc5802
// https://tools.ietf.org/html/rfc8265
// https://www.postgresql.org/docs/current/sasl-authentication.html
//
// Inspiration drawn from other implementations:
// https://github.com/lib/pq/pull/608
// https://github.com/lib... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/internal/ctxwatch/context_watcher.go | vendor/github.com/jackc/pgconn/internal/ctxwatch/context_watcher.go | package ctxwatch
import (
"context"
"sync"
)
// ContextWatcher watches a context and performs an action when the context is canceled. It can watch one context at a
// time.
type ContextWatcher struct {
onCancel func()
onUnwatchAfterCancel func()
unwatchChan chan struct{}
lock ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/stmtcache/stmtcache.go | vendor/github.com/jackc/pgconn/stmtcache/stmtcache.go | // Package stmtcache is a cache that can be used to implement lazy prepared statements.
package stmtcache
import (
"context"
"github.com/jackc/pgconn"
)
const (
ModePrepare = iota // Cache should prepare named statements.
ModeDescribe // Cache should prepare the anonymous prepared statement to only fetch... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgconn/stmtcache/lru.go | vendor/github.com/jackc/pgconn/stmtcache/lru.go | package stmtcache
import (
"container/list"
"context"
"fmt"
"sync/atomic"
"github.com/jackc/pgconn"
)
var lruCount uint64
// LRU implements Cache with a Least Recently Used (LRU) cache.
type LRU struct {
conn *pgconn.PgConn
mode int
cap int
prepareCount int
m map[string... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/record_array.go | vendor/github.com/jackc/pgtype/record_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"encoding/binary"
"fmt"
"reflect"
)
type RecordArray struct {
Elements []Record
Dimensions []ArrayDimension
Status Status
}
func (dst *RecordArray) Set(src interface{}) error {
// untyped nil and typed nil interfaces are different
if src =... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int8_multirange.go | vendor/github.com/jackc/pgtype/int8_multirange.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"github.com/jackc/pgio"
)
type Int8multirange struct {
Ranges []Int8range
Status Status
}
func (dst *Int8multirange) Set(src interface{}) error {
//untyped nil and typed nil interfaces are different
if src == nil {
*dst = Int8multirange... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/bool_array.go | vendor/github.com/jackc/pgtype/bool_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type BoolArray struct {
Elements []Bool
Dimensions []ArrayDimension
Status Status
}
func (dst *BoolArray) Set(src interface{}) error {
// untyped nil and t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/json.go | vendor/github.com/jackc/pgtype/json.go | package pgtype
import (
"database/sql/driver"
"encoding/json"
"errors"
"fmt"
"reflect"
)
type JSON struct {
Bytes []byte
Status Status
}
func (dst *JSON) Set(src interface{}) error {
if src == nil {
*dst = JSON{Status: Null}
return nil
}
if value, ok := src.(interface{ Get() interface{} }); ok {
va... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/text.go | vendor/github.com/jackc/pgtype/text.go | package pgtype
import (
"database/sql/driver"
"encoding/json"
"fmt"
)
type Text struct {
String string
Status Status
}
func (dst *Text) Set(src interface{}) error {
if src == nil {
*dst = Text{Status: Null}
return nil
}
if value, ok := src.(interface{ Get() interface{} }); ok {
value2 := value.Get()
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/timestamp.go | vendor/github.com/jackc/pgtype/timestamp.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"strings"
"time"
"github.com/jackc/pgio"
)
const pgTimestampFormat = "2006-01-02 15:04:05.999999999"
// Timestamp represents the PostgreSQL timestamp type. The PostgreSQL
// timestamp does not have a time zone. This presents a problem when
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/time.go | vendor/github.com/jackc/pgtype/time.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"strconv"
"time"
"github.com/jackc/pgio"
)
// Time represents the PostgreSQL time type. The PostgreSQL time is a time of day without time zone.
//
// Time is represented as the number of microseconds since midnight in the same way that Postg... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/uuid.go | vendor/github.com/jackc/pgtype/uuid.go | package pgtype
import (
"bytes"
"database/sql/driver"
"encoding/hex"
"fmt"
)
type UUID struct {
Bytes [16]byte
Status Status
}
func (dst *UUID) Set(src interface{}) error {
if src == nil {
*dst = UUID{Status: Null}
return nil
}
switch value := src.(type) {
case interface{ Get() interface{} }:
value... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/timestamptz_array.go | vendor/github.com/jackc/pgtype/timestamptz_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"time"
"github.com/jackc/pgio"
)
type TimestamptzArray struct {
Elements []Timestamptz
Dimensions []ArrayDimension
Status Status
}
func (dst *TimestamptzArray) Set(src interface{}) ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/unknown.go | vendor/github.com/jackc/pgtype/unknown.go | package pgtype
import "database/sql/driver"
// Unknown represents the PostgreSQL unknown type. It is either a string literal
// or NULL. It is used when PostgreSQL does not know the type of a value. In
// general, this will only be used in pgx when selecting a null value without
// type information. e.g. SELECT NULL;... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/enum_type.go | vendor/github.com/jackc/pgtype/enum_type.go | package pgtype
import "fmt"
// EnumType represents an enum type. While it implements Value, this is only in service of its type conversion duties
// when registered as a data type in a ConnType. It should not be used directly as a Value.
type EnumType struct {
value string
status Status
typeName string ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/bool.go | vendor/github.com/jackc/pgtype/bool.go | package pgtype
import (
"database/sql/driver"
"encoding/json"
"fmt"
"strconv"
)
type Bool struct {
Bool bool
Status Status
}
func (dst *Bool) Set(src interface{}) error {
if src == nil {
*dst = Bool{Status: Null}
return nil
}
if value, ok := src.(interface{ Get() interface{} }); ok {
value2 := valu... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/bpchar_array.go | vendor/github.com/jackc/pgtype/bpchar_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type BPCharArray struct {
Elements []BPChar
Dimensions []ArrayDimension
Status Status
}
func (dst *BPCharArray) Set(src interface{}) error {
// untyped nil... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/varbit.go | vendor/github.com/jackc/pgtype/varbit.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"github.com/jackc/pgio"
)
type Varbit struct {
Bytes []byte
Len int32 // Number of bits
Status Status
}
func (dst *Varbit) Set(src interface{}) error {
return fmt.Errorf("cannot convert %v to Varbit", src)
}
func (dst Varbit) Get() i... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/float8.go | vendor/github.com/jackc/pgtype/float8.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"github.com/jackc/pgio"
)
type Float8 struct {
Float float64
Status Status
}
func (dst *Float8) Set(src interface{}) error {
if src == nil {
*dst = Float8{Status: Null}
return nil
}
if value, ok := src.(interface... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/tstzrange_array.go | vendor/github.com/jackc/pgtype/tstzrange_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type TstzrangeArray struct {
Elements []Tstzrange
Dimensions []ArrayDimension
Status Status
}
func (dst *TstzrangeArray) Set(src interface{}) error {
// un... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/float8_array.go | vendor/github.com/jackc/pgtype/float8_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type Float8Array struct {
Elements []Float8
Dimensions []ArrayDimension
Status Status
}
func (dst *Float8Array) Set(src interface{}) error {
// untyped nil... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/date_array.go | vendor/github.com/jackc/pgtype/date_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"time"
"github.com/jackc/pgio"
)
type DateArray struct {
Elements []Date
Dimensions []ArrayDimension
Status Status
}
func (dst *DateArray) Set(src interface{}) error {
// untyped n... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int8_array.go | vendor/github.com/jackc/pgtype/int8_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type Int8Array struct {
Elements []Int8
Dimensions []ArrayDimension
Status Status
}
func (dst *Int8Array) Set(src interface{}) error {
// untyped nil and t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/timestamp_array.go | vendor/github.com/jackc/pgtype/timestamp_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"time"
"github.com/jackc/pgio"
)
type TimestampArray struct {
Elements []Timestamp
Dimensions []ArrayDimension
Status Status
}
func (dst *TimestampArray) Set(src interface{}) error ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/line.go | vendor/github.com/jackc/pgtype/line.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"strings"
"github.com/jackc/pgio"
)
type Line struct {
A, B, C float64
Status Status
}
func (dst *Line) Set(src interface{}) error {
return fmt.Errorf("cannot convert %v to Line", src)
}
func (dst Line) Get() interfac... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/composite_fields.go | vendor/github.com/jackc/pgtype/composite_fields.go | package pgtype
import "fmt"
// CompositeFields scans the fields of a composite type into the elements of the CompositeFields value. To scan a
// nullable value use a *CompositeFields. It will be set to nil in case of null.
//
// CompositeFields implements EncodeBinary and EncodeText. However, functionality is limited... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/xid.go | vendor/github.com/jackc/pgtype/xid.go | package pgtype
import (
"database/sql/driver"
)
// XID is PostgreSQL's Transaction ID type.
//
// In later versions of PostgreSQL, it is the type used for the backend_xid
// and backend_xmin columns of the pg_stat_activity system view.
//
// Also, when one does
//
// select xmin, xmax, * from some_table;
//
// it i... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/path.go | vendor/github.com/jackc/pgtype/path.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"strings"
"github.com/jackc/pgio"
)
type Path struct {
P []Vec2
Closed bool
Status Status
}
func (dst *Path) Set(src interface{}) error {
return fmt.Errorf("cannot convert %v to Path", src)
}
func (dst Path) Get(... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int4_array.go | vendor/github.com/jackc/pgtype/int4_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type Int4Array struct {
Elements []Int4
Dimensions []ArrayDimension
Status Status
}
func (dst *Int4Array) Set(src interface{}) error {
// untyped nil and t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/cidr.go | vendor/github.com/jackc/pgtype/cidr.go | package pgtype
import "database/sql/driver"
type CIDR Inet
func (dst *CIDR) Set(src interface{}) error {
return (*Inet)(dst).Set(src)
}
func (dst CIDR) Get() interface{} {
return (Inet)(dst).Get()
}
func (src *CIDR) AssignTo(dst interface{}) error {
return (*Inet)(src).AssignTo(dst)
}
func (dst *CIDR) DecodeTe... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/num_multirange.go | vendor/github.com/jackc/pgtype/num_multirange.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"github.com/jackc/pgio"
)
type Nummultirange struct {
Ranges []Numrange
Status Status
}
func (dst *Nummultirange) Set(src interface{}) error {
//untyped nil and typed nil interfaces are different
if src == nil {
*dst = Nummultirange{Sta... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/ltree.go | vendor/github.com/jackc/pgtype/ltree.go | package pgtype
import (
"database/sql/driver"
"fmt"
)
type Ltree Text
func (dst *Ltree) Set(src interface{}) error {
return (*Text)(dst).Set(src)
}
func (dst Ltree) Get() interface{} {
return (Text)(dst).Get()
}
func (src *Ltree) AssignTo(dst interface{}) error {
return (*Text)(src).AssignTo(dst)
}
func (src... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/cidr_array.go | vendor/github.com/jackc/pgtype/cidr_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"net"
"reflect"
"github.com/jackc/pgio"
)
type CIDRArray struct {
Elements []CIDR
Dimensions []ArrayDimension
Status Status
}
func (dst *CIDRArray) Set(src interface{}) error {
// untyped ni... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/timestamptz.go | vendor/github.com/jackc/pgtype/timestamptz.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"encoding/json"
"fmt"
"time"
"github.com/jackc/pgio"
)
const pgTimestamptzHourFormat = "2006-01-02 15:04:05.999999999Z07"
const pgTimestamptzMinuteFormat = "2006-01-02 15:04:05.999999999Z07:00"
const pgTimestamptzSecondFormat = "2006-01-02 15:04:0... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/circle.go | vendor/github.com/jackc/pgtype/circle.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"strings"
"github.com/jackc/pgio"
)
type Circle struct {
P Vec2
R float64
Status Status
}
func (dst *Circle) Set(src interface{}) error {
return fmt.Errorf("cannot convert %v to Circle", src)
}
func (dst Cir... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int4range.go | vendor/github.com/jackc/pgtype/int4range.go | package pgtype
import (
"database/sql/driver"
"fmt"
"github.com/jackc/pgio"
)
type Int4range struct {
Lower Int4
Upper Int4
LowerType BoundType
UpperType BoundType
Status Status
}
func (dst *Int4range) Set(src interface{}) error {
// untyped nil and typed nil interfaces are different
if src == ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/jsonb_array.go | vendor/github.com/jackc/pgtype/jsonb_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"encoding/json"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type JSONBArray struct {
Elements []JSONB
Dimensions []ArrayDimension
Status Status
}
func (dst *JSONBArray) Set(src interface{}) error {
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/pguint32.go | vendor/github.com/jackc/pgtype/pguint32.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"github.com/jackc/pgio"
)
// pguint32 is the core type that is used to implement PostgreSQL types such as
// CID and XID.
type pguint32 struct {
Uint uint32
Status Status
}
// Set converts from src to dst. Note that as ... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int2_array.go | vendor/github.com/jackc/pgtype/int2_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type Int2Array struct {
Elements []Int2
Dimensions []ArrayDimension
Status Status
}
func (dst *Int2Array) Set(src interface{}) error {
// untyped nil and t... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/polygon.go | vendor/github.com/jackc/pgtype/polygon.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"strings"
"github.com/jackc/pgio"
)
type Polygon struct {
P []Vec2
Status Status
}
// Set converts src to dest.
//
// src can be nil, string, []float64, and []pgtype.Vec2.
//
// If src is string the format must be (... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/bpchar.go | vendor/github.com/jackc/pgtype/bpchar.go | package pgtype
import (
"database/sql/driver"
"fmt"
)
// BPChar is fixed-length, blank padded char type
// character(n), char(n)
type BPChar Text
// Set converts from src to dst.
func (dst *BPChar) Set(src interface{}) error {
return (*Text)(dst).Set(src)
}
// Get returns underlying value
func (dst BPChar) Get()... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/bytea.go | vendor/github.com/jackc/pgtype/bytea.go | package pgtype
import (
"database/sql/driver"
"encoding/hex"
"fmt"
)
type Bytea struct {
Bytes []byte
Status Status
}
func (dst *Bytea) Set(src interface{}) error {
if src == nil {
*dst = Bytea{Status: Null}
return nil
}
if value, ok := src.(interface{ Get() interface{} }); ok {
value2 := value.Get()... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/aclitem.go | vendor/github.com/jackc/pgtype/aclitem.go | package pgtype
import (
"database/sql/driver"
"fmt"
)
// ACLItem is used for PostgreSQL's aclitem data type. A sample aclitem
// might look like this:
//
// postgres=arwdDxt/postgres
//
// Note, however, that because the user/role name part of an aclitem is
// an identifier, it follows all the usual formatting rule... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/varchar.go | vendor/github.com/jackc/pgtype/varchar.go | package pgtype
import (
"database/sql/driver"
)
type Varchar Text
// Set converts from src to dst. Note that as Varchar is not a general
// number type Set does not do automatic type conversion as other number
// types do.
func (dst *Varchar) Set(src interface{}) error {
return (*Text)(dst).Set(src)
}
func (dst V... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/box.go | vendor/github.com/jackc/pgtype/box.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"strings"
"github.com/jackc/pgio"
)
type Box struct {
P [2]Vec2
Status Status
}
func (dst *Box) Set(src interface{}) error {
return fmt.Errorf("cannot convert %v to Box", src)
}
func (dst Box) Get() interface{} {
... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/aclitem_array.go | vendor/github.com/jackc/pgtype/aclitem_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"fmt"
"reflect"
)
type ACLItemArray struct {
Elements []ACLItem
Dimensions []ArrayDimension
Status Status
}
func (dst *ACLItemArray) Set(src interface{}) error {
// untyped nil and typed nil interfaces are different
i... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/tsrange.go | vendor/github.com/jackc/pgtype/tsrange.go | package pgtype
import (
"database/sql/driver"
"fmt"
"github.com/jackc/pgio"
)
type Tsrange struct {
Lower Timestamp
Upper Timestamp
LowerType BoundType
UpperType BoundType
Status Status
}
func (dst *Tsrange) Set(src interface{}) error {
// untyped nil and typed nil interfaces are different
if s... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/convert.go | vendor/github.com/jackc/pgtype/convert.go | package pgtype
import (
"database/sql"
"fmt"
"math"
"reflect"
"time"
)
const (
maxUint = ^uint(0)
maxInt = int(maxUint >> 1)
minInt = -maxInt - 1
)
// underlyingNumberType gets the underlying type that can be converted to Int2, Int4, Int8, Float4, or Float8
func underlyingNumberType(val interface{}) (inter... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int2.go | vendor/github.com/jackc/pgtype/int2.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"encoding/json"
"fmt"
"math"
"strconv"
"github.com/jackc/pgio"
)
type Int2 struct {
Int int16
Status Status
}
func (dst *Int2) Set(src interface{}) error {
if src == nil {
*dst = Int2{Status: Null}
return nil
}
if value, ok := src.(... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/composite_type.go | vendor/github.com/jackc/pgtype/composite_type.go | package pgtype
import (
"encoding/binary"
"errors"
"fmt"
"reflect"
"strings"
"github.com/jackc/pgio"
)
type CompositeTypeField struct {
Name string
OID uint32
}
type CompositeType struct {
status Status
typeName string
fields []CompositeTypeField
valueTranscoders []ValueTranscoder
}
// New... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/float4.go | vendor/github.com/jackc/pgtype/float4.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"math"
"strconv"
"github.com/jackc/pgio"
)
type Float4 struct {
Float float32
Status Status
}
func (dst *Float4) Set(src interface{}) error {
if src == nil {
*dst = Float4{Status: Null}
return nil
}
if value, ok := src.(interface... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/int8.go | vendor/github.com/jackc/pgtype/int8.go | package pgtype
import (
"database/sql/driver"
"encoding/binary"
"encoding/json"
"fmt"
"math"
"strconv"
"github.com/jackc/pgio"
)
type Int8 struct {
Int int64
Status Status
}
func (dst *Int8) Set(src interface{}) error {
if src == nil {
*dst = Int8{Status: Null}
return nil
}
if value, ok := src.(... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/float4_array.go | vendor/github.com/jackc/pgtype/float4_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"reflect"
"github.com/jackc/pgio"
)
type Float4Array struct {
Elements []Float4
Dimensions []ArrayDimension
Status Status
}
func (dst *Float4Array) Set(src interface{}) error {
// untyped nil... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/inet_array.go | vendor/github.com/jackc/pgtype/inet_array.go | // Code generated by erb. DO NOT EDIT.
package pgtype
import (
"database/sql/driver"
"encoding/binary"
"fmt"
"net"
"reflect"
"github.com/jackc/pgio"
)
type InetArray struct {
Elements []Inet
Dimensions []ArrayDimension
Status Status
}
func (dst *InetArray) Set(src interface{}) error {
// untyped ni... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
quay/quay-operator | https://github.com/quay/quay-operator/blob/5a999da6a496e943d67219c8dca531b777a2ee1f/vendor/github.com/jackc/pgtype/array.go | vendor/github.com/jackc/pgtype/array.go | package pgtype
import (
"bytes"
"encoding/binary"
"fmt"
"io"
"reflect"
"strconv"
"strings"
"unicode"
"github.com/jackc/pgio"
)
// Information on the internals of PostgreSQL arrays can be found in
// src/include/utils/array.h and src/backend/utils/adt/arrayfuncs.c. Of
// particular interest is the array_send... | go | Apache-2.0 | 5a999da6a496e943d67219c8dca531b777a2ee1f | 2026-01-07T09:45:38.853115Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.