type github.com/jackc/pgx/v5/pgconn.StatementDescription
48 uses
github.com/jackc/pgx/v5/pgconn (current package)
pgconn.go#L884: type StatementDescription struct {
pgconn.go#L900: func (pgConn *PgConn) Prepare(ctx context.Context, name, sql string, paramOIDs []uint32) (*StatementDescription, error) {
pgconn.go#L925: psd := &StatementDescription{Name: name, SQL: sql}
pgconn.go#L1242: func (pgConn *PgConn) ExecStatement(ctx context.Context, statementDescription *StatementDescription, paramValues [][]byte, paramFormats, resultFormats []int16) *ResultReader {
pgconn.go#L1290: func (pgConn *PgConn) execExtendedSuffix(result *ResultReader, statementDescription *StatementDescription, resultFormats []int16) {
pgconn.go#L1508: statementDescriptions []*StatementDescription
pgconn.go#L1770: func (rr *ResultReader) readUntilRowDescription(statementDescription *StatementDescription, resultFormats []int16) {
pgconn.go#L1860: statementDescriptions []*StatementDescription
pgconn.go#L1905: func (batch *Batch) ExecStatement(statementDescription *StatementDescription, paramValues [][]byte, paramFormats, resultFormats []int16) {
pgconn.go#L2302: func (s *pipelineState) PushBackStatementData(sd *StatementDescription, resultFormats []int16) {
pgconn.go#L2307: func (s *pipelineState) ExtractFrontStatementData() (*StatementDescription, []int16) {
pgconn.go#L2309: var sd *StatementDescription
pgconn.go#L2312: sd = sdElem.Value.(*StatementDescription)
pgconn.go#L2439: func (p *Pipeline) SendQueryStatement(statementDescription *StatementDescription, paramValues [][]byte, paramFormats, resultFormats []int16) {
pgconn.go#L2558: func (p *Pipeline) getResultsPrepare() (*StatementDescription, error) {
pgconn.go#L2564: psd := &StatementDescription{}
github.com/jackc/pgx/v5
batch.go#L16: sd *pgconn.StatementDescription
conn.go#L70: preparedStatements map[string]*pgconn.StatementDescription
conn.go#L283: c.preparedStatements = make(map[string]*pgconn.StatementDescription)
conn.go#L319: func (c *Conn) Prepare(ctx context.Context, name, sql string) (sd *pgconn.StatementDescription, err error) {
conn.go#L398: c.preparedStatements = map[string]*pgconn.StatementDescription{}
conn.go#L596: func (c *Conn) execParams(ctx context.Context, sd *pgconn.StatementDescription, arguments []any) (pgconn.CommandTag, error) {
conn.go#L607: func (c *Conn) execPrepared(ctx context.Context, sd *pgconn.StatementDescription, arguments []any) (pgconn.CommandTag, error) {
conn.go#L895: ) (sd *pgconn.StatementDescription, err error) {
conn.go#L1077: distinctNewQueries := []*pgconn.StatementDescription{}
conn.go#L1089: sd = &pgconn.StatementDescription{
conn.go#L1109: distinctNewQueries := []*pgconn.StatementDescription{}
conn.go#L1121: sd = &pgconn.StatementDescription{
conn.go#L1136: distinctNewQueries := []*pgconn.StatementDescription{}
conn.go#L1144: sd := &pgconn.StatementDescription{
conn.go#L1157: func (c *Conn) sendBatchExtendedWithDescription(ctx context.Context, b *Batch, distinctNewQueries []*pgconn.StatementDescription, sdCache stmtcache.Cache) (pbr *pipelineBatchResults) {
conn.go#L1200: resultSD, ok := results.(*pgconn.StatementDescription)
conn.go#L1439: 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#L143: Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error)
tx.go#L235: func (tx *dbTx) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error) {
tx.go#L337: 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) {