type github.com/jackc/pgx/v5/pgconn.StatementDescription
49 uses
github.com/jackc/pgx/v5/pgconn (current package)
pgconn.go#L1002: type StatementDescription struct {
pgconn.go#L1018: func (pgConn *PgConn) Prepare(ctx context.Context, name, sql string, paramOIDs []uint32) (*StatementDescription, error) {
pgconn.go#L1043: psd := &StatementDescription{Name: name, SQL: sql}
pgconn.go#L1382: func (pgConn *PgConn) ExecStatement(ctx context.Context, statementDescription *StatementDescription, paramValues [][]byte, paramFormats, resultFormats []int16) *ResultReader {
pgconn.go#L1430: func (pgConn *PgConn) execExtendedSuffix(result *ResultReader, statementDescription *StatementDescription, resultFormats []int16) {
pgconn.go#L1652: statementDescriptions []*StatementDescription
pgconn.go#L1656: currentStatementDescription *StatementDescription
pgconn.go#L1948: func (rr *ResultReader) readUntilRowDescription(statementDescription *StatementDescription, resultFormats []int16) {
pgconn.go#L2038: statementDescriptions []*StatementDescription
pgconn.go#L2090: func (batch *Batch) ExecStatement(statementDescription *StatementDescription, paramValues [][]byte, paramFormats, resultFormats []int16) {
pgconn.go#L2503: func (s *pipelineState) PushBackStatementData(sd *StatementDescription, resultFormats []int16) {
pgconn.go#L2508: func (s *pipelineState) ExtractFrontStatementData() (*StatementDescription, []int16) {
pgconn.go#L2510: var sd *StatementDescription
pgconn.go#L2513: sd = sdElem.Value.(*StatementDescription)
pgconn.go#L2640: func (p *Pipeline) SendQueryStatement(statementDescription *StatementDescription, paramValues [][]byte, paramFormats, resultFormats []int16) {
pgconn.go#L2772: func (p *Pipeline) getResultsPrepare() (*StatementDescription, error) {
pgconn.go#L2778: psd := &StatementDescription{}
github.com/jackc/pgx/v5
batch.go#L17: sd *pgconn.StatementDescription
conn.go#L71: preparedStatements map[string]*pgconn.StatementDescription
conn.go#L284: c.preparedStatements = make(map[string]*pgconn.StatementDescription)
conn.go#L320: func (c *Conn) Prepare(ctx context.Context, name, sql string) (sd *pgconn.StatementDescription, err error) {
conn.go#L404: c.preparedStatements = map[string]*pgconn.StatementDescription{}
conn.go#L605: func (c *Conn) execParams(ctx context.Context, sd *pgconn.StatementDescription, arguments []any) (pgconn.CommandTag, error) {
conn.go#L616: func (c *Conn) execPrepared(ctx context.Context, sd *pgconn.StatementDescription, arguments []any) (pgconn.CommandTag, error) {
conn.go#L905: ) (sd *pgconn.StatementDescription, err error) {
conn.go#L1101: distinctNewQueries := []*pgconn.StatementDescription{}
conn.go#L1113: sd = &pgconn.StatementDescription{
conn.go#L1133: distinctNewQueries := []*pgconn.StatementDescription{}
conn.go#L1145: sd = &pgconn.StatementDescription{
conn.go#L1160: distinctNewQueries := []*pgconn.StatementDescription{}
conn.go#L1168: sd := &pgconn.StatementDescription{
conn.go#L1181: func (c *Conn) sendBatchExtendedWithDescription(ctx context.Context, b *Batch, distinctNewQueries []*pgconn.StatementDescription, sdCache stmtcache.Cache) (pbr *pipelineBatchResults) {
conn.go#L1224: resultSD, ok := results.(*pgconn.StatementDescription)
conn.go#L1464: var invalidatedStatements []*pgconn.StatementDescription
copy_from.go#L136: var sd *pgconn.StatementDescription
copy_from.go#L217: func (ct *copyFrom) buildCopyBuf(buf []byte, sd *pgconn.StatementDescription) (bool, []byte, error) {
extended_query_builder.go#L21: func (eqb *ExtendedQueryBuilder) Build(m *pgtype.Map, sd *pgconn.StatementDescription, args []any) error {
tx.go#L181: Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error)
tx.go#L273: func (tx *dbTx) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error) {
tx.go#L378: func (sp *dbSimulatedNestedTx) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error) {
github.com/jackc/pgx/v5/internal/stmtcache
lru_cache.go#L9: sd *pgconn.StatementDescription
lru_cache.go#L24: invalidStmts []*pgconn.StatementDescription
lru_cache.go#L45: func (c *LRUCache) Get(key string) *pgconn.StatementDescription {
lru_cache.go#L56: func (c *LRUCache) Put(sd *pgconn.StatementDescription) {
lru_cache.go#L112: func (c *LRUCache) GetInvalidated() []*pgconn.StatementDescription {
stmtcache.go#L21: Get(sql string) *pgconn.StatementDescription
stmtcache.go#L24: Put(sd *pgconn.StatementDescription)
stmtcache.go#L33: GetInvalidated() []*pgconn.StatementDescription
github.com/jackc/pgx/v5/pgxpool
tx.go#L65: func (tx *Tx) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error) {